Eric Tröbs 4 年之前
父节点
当前提交
494714cd0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pycs/ApplicationStatus.py

+ 1 - 1
pycs/ApplicationStatus.py

@@ -27,6 +27,6 @@ class ApplicationStatus(ObservableDict):
         # subscribe to settings change to write it to file
         self['settings'].subscribe(self.__write_settings_to_file)
 
-    def __write_settings_to_file(self, settings):
+    def __write_settings_to_file(self, settings, keys):
         with open(self.__path_to_settings_json, 'w') as settings_json:
             dump(settings, settings_json, indent=4)