Update script_for_automation.py
Browse files- script_for_automation.py +1 -1
script_for_automation.py
CHANGED
|
@@ -511,7 +511,7 @@ def drive_process():
|
|
| 511 |
# Optionally save differences as a separate file
|
| 512 |
differences_file = os.path.join(recipe_folder, f"recipe_{recipe_dict['recipe_id']}_data_{key}_differences.json")
|
| 513 |
with open(differences_file, 'w') as f:
|
| 514 |
-
|
| 515 |
|
| 516 |
print("ZIPPING UP WHOLE THING")
|
| 517 |
# Zip the entire output folder
|
|
|
|
| 511 |
# Optionally save differences as a separate file
|
| 512 |
differences_file = os.path.join(recipe_folder, f"recipe_{recipe_dict['recipe_id']}_data_{key}_differences.json")
|
| 513 |
with open(differences_file, 'w') as f:
|
| 514 |
+
f.write(str(differences))
|
| 515 |
|
| 516 |
print("ZIPPING UP WHOLE THING")
|
| 517 |
# Zip the entire output folder
|