From e9daf6ba1682fe27a920a34ed1f104a4f77a19bb Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 11 May 2024 19:04:55 +0200 Subject: [PATCH] fix: use pretty json for config --- client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.py b/client.py index de7e24e..211b50f 100644 --- a/client.py +++ b/client.py @@ -40,7 +40,7 @@ def close_input_window(input_window): # dump config and write to file # print(json.dumps(ret_dict)) with open(CONFIG_FILE, "w") as f: - json.dump(ret_dict, f) + json.dump(ret_dict, f, indent=2) # quit input window # input_window.update()