remove indent in generated json file
This commit is contained in:
parent
7e0e26aa17
commit
d4e6fefc36
2
main.py
2
main.py
@ -233,7 +233,7 @@ def parse_addon_infos(input_dir, output_filepath, **kwargs):
|
|||||||
if dir and not os.path.exists(dir):
|
if dir and not os.path.exists(dir):
|
||||||
os.makedirs(dir)
|
os.makedirs(dir)
|
||||||
with open(output_filepath, "w") as json_file:
|
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
|
return addon_infos
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user