only rewrite ui-config when there is change

and a typo
This commit is contained in:
w-e-w
2023-12-18 15:27:41 +09:00
parent de03882d6c
commit 10945aa41a
2 changed files with 4 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ class UiLoadsave:
json.dump(current_ui_settings, file, indent=4, ensure_ascii=False)
def dump_defaults(self):
"""saves default values to a file unless tjhe file is present and there was an error loading default values at start"""
"""saves default values to a file unless the file is present and there was an error loading default values at start"""
if self.error_loading and os.path.exists(self.filename):
return