From fa2d507aa2ac46502ddd545c80d37fbdae6fbdaf Mon Sep 17 00:00:00 2001 From: eggplants Date: Fri, 4 Oct 2024 22:38:42 +0900 Subject: [PATCH] fix #268 --- getjump/getjump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getjump/getjump.py b/getjump/getjump.py index cf52569..faa8630 100644 --- a/getjump/getjump.py +++ b/getjump/getjump.py @@ -142,7 +142,7 @@ def get( # noqa: PLR0913 if save_metadata: print( - json.dumps(json_value, indent=4), + json.dumps(json.loads(json_value), indent=4, ensure_ascii=False), file=(save_dir / "metadata.json").open(mode="w"), ) self.__save_images(pages, save_dir, only_first=only_first, print_log=print_log)