Update snapshots when duplicating a project

This commit is contained in:
grossmj committed 2026-04-09 23:18:55 +08:00
1 parent 274cef6cf5
commit 6f7730c455
4 files changed
+115 -113

No files matched your search

+1 -1
View File
@@ -217,7 +217,7 @@ class Controller:
try:
os.makedirs(os.path.dirname(self._config_file), exist_ok=True)
with open(self._config_file, 'w+') as f:
json.dump(controller_settings, f, indent=4)
json.dump(controller_settings, f, indent=4, sort_keys=True)
except OSError as e:
log.error("Cannot write controller configuration file '{}': {}".format(self._config_file, e))