chore: Update json.dump to include indentation in submit-theme.py

This commit is contained in:
Mauro Balades 2024-08-20 09:27:00 +02:00
parent 9b8ff022f0
commit 23f0f0c9e8

View file

@ -175,7 +175,7 @@ Just joking, you can do whatever you want. You're the boss.
print("Detected preferences file. Please review the preferences below.") print("Detected preferences file. Please review the preferences below.")
print(prefs) print(prefs)
theme['preferences'] = get_static_asset(theme_id, PREFERENCES_FILE) theme['preferences'] = get_static_asset(theme_id, PREFERENCES_FILE)
json.dump(prefs, f) json.dump(prefs, f, indent=4)
else: else:
print("No preferences detected.") print("No preferences detected.")
os.remove(prefs_file) os.remove(prefs_file)