beautify json

This commit is contained in:
Guille Gutierrez 2023-02-22 08:06:01 -05:00
parent f793d86ab8
commit 22f9670650

View File

@ -19,7 +19,7 @@ os.remove(str(c.transparent_surfaces_path))
constructions = dict(opaque_surfaces=opaque['opaque_surfaces'], transparent_surfaces=transparent['transparent_surfaces'])
with open(c.nrcan_constructions, 'w') as f:
json.dump(constructions, f)
json.dump(constructions, f, indent=2)
print('NRCAN catalog successfully created')