From dc86a9235ef71d40bb7dd746925e76c290e2e11c Mon Sep 17 00:00:00 2001 From: gamerdonkey Date: Thu, 11 Sep 2025 22:47:41 +0000 Subject: [PATCH] Output pretty-formatted JSON. --- create_recipe_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_recipe_json.py b/create_recipe_json.py index 7f3a1c9..1d5f651 100644 --- a/create_recipe_json.py +++ b/create_recipe_json.py @@ -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))