From d4e6fefc367db5cd4dbd102813f3707ea75b7afa Mon Sep 17 00:00:00 2001 From: syt Date: Thu, 30 Nov 2023 21:44:58 +0800 Subject: [PATCH] remove indent in generated json file --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1fcea71..7b80738 100644 --- a/main.py +++ b/main.py @@ -233,7 +233,7 @@ def parse_addon_infos(input_dir, output_filepath, **kwargs): if dir and not os.path.exists(dir): os.makedirs(dir) with open(output_filepath, "w") as json_file: - json.dump(addon_infos, json_file, ensure_ascii=False, indent=' ') + json.dump(addon_infos, json_file, ensure_ascii=False) return addon_infos