summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bidding_data_gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bidding_data_gui.py b/src/bidding_data_gui.py
index 40c540d..5ad2647 100644
--- a/src/bidding_data_gui.py
+++ b/src/bidding_data_gui.py
@@ -449,7 +449,8 @@ class BiddingGUI(tk.Frame):
self.__default_config['goniec']['host'] = self.__goniec_host.get()
self.__default_config['goniec']['port'] = self.__goniec_port.get()
self.__default_config['goniec']['enabled'] = self.__goniec_enabled.get()
- json.dump(self.__default_config, file(self.__config_file, 'w'))
+ json.dump(self.__default_config, file(self.__config_file, 'w'),
+ sort_keys=True, indent=4)
# embedded image data for app icon
__icon_data = """R0lGODlhIAAgAOeRAAAAAAQEBAUFBQYGBggICAAAcQAAcgAAcwAAdAAAdQA