diff options
| author | 2024-10-14 03:02:05 -0400 | |
|---|---|---|
| committer | 2024-10-14 03:02:05 -0400 | |
| commit | 0db541f524e1774865efebcbe5653e9ad76ea2e8 (patch) | |
| tree | b0fc6ce19628931f61c43f2dc9ebfd88a4332388 /gallery_dl/util.py | |
| parent | 1a457ed68769880ab7760e0746f0cbbd9ca00487 (diff) | |
New upstream version 1.27.6.upstream/1.27.6
Diffstat (limited to 'gallery_dl/util.py')
| -rw-r--r-- | gallery_dl/util.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gallery_dl/util.py b/gallery_dl/util.py index 128f48b..d5bc171 100644 --- a/gallery_dl/util.py +++ b/gallery_dl/util.py @@ -253,7 +253,11 @@ def json_default(obj): json_loads = json._default_decoder.decode -json_dumps = json.JSONEncoder(default=json_default).encode +json_dumps = json.JSONEncoder( + check_circular=False, + separators=(",", ":"), + default=json_default, +).encode def dump_json(obj, fp=sys.stdout, ensure_ascii=True, indent=4): |
