mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 23:11:36 +01:00
fix: use pretty json for config
This commit is contained in:
@@ -40,7 +40,7 @@ def close_input_window(input_window):
|
|||||||
# dump config and write to file #
|
# dump config and write to file #
|
||||||
print(json.dumps(ret_dict))
|
print(json.dumps(ret_dict))
|
||||||
with open(CONFIG_FILE, "w") as f:
|
with open(CONFIG_FILE, "w") as f:
|
||||||
json.dump(ret_dict, f)
|
json.dump(ret_dict, f, indent=2)
|
||||||
|
|
||||||
# quit input window #
|
# quit input window #
|
||||||
input_window.update()
|
input_window.update()
|
||||||
|
|||||||
Reference in New Issue
Block a user