Output pretty-formatted JSON.

This commit is contained in:
gamerdonkey 2025-09-11 22:47:41 +00:00
parent 163f5cacab
commit dc86a9235e

View File

@ -52,5 +52,5 @@ if name:
filename = name.replace(" ", "_").lower()
with open(f"{filename}.json", 'w') as f:
f.write(json.dumps(recipe))
f.write(json.dumps(recipe, indent=2))