From 0db541f524e1774865efebcbe5653e9ad76ea2e8 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 14 Oct 2024 03:02:05 -0400 Subject: New upstream version 1.27.6. --- gallery_dl/util.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gallery_dl/util.py') 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): -- cgit v1.2.3