aboutsummaryrefslogtreecommitdiff
path: root/modules/ui_loadsave.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-01 16:35:07 +0300
committerGitHub <noreply@github.com>2024-01-01 16:35:07 +0300
commit0ce67cb61806cf43f4d726d4705a4f6fdc2540e6 (patch)
tree8017d68ef294f53d55dfdcad3eef99032af28ebb /modules/ui_loadsave.py
parentcba6fba123b4e48fa6edeb11e8f7d018fd01430d (diff)
parent10945aa41a158ee03727c5ea77d4ffff6b5370f0 (diff)
Merge pull request #14352 from AUTOMATIC1111/reduce-unnecessary-ui-config-write
only rewrite ui-config when there is change
Diffstat (limited to 'modules/ui_loadsave.py')
-rw-r--r--modules/ui_loadsave.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_loadsave.py b/modules/ui_loadsave.py
index 7826786c..693ff75c 100644
--- a/modules/ui_loadsave.py
+++ b/modules/ui_loadsave.py
@@ -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