aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui_loadsave.py
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-12-02 09:00:09 +0000
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-12-02 09:00:09 +0000
commit110485d5bb511ab01ac3d890f1deca0502f4c7db (patch)
tree4335df77c422985e28b30c67ea846ca71e5ef1d7 /modules/ui_loadsave.py
parent3d341ebc7dcb44df3b4c013b3805c08d8a35e24a (diff)
parent0bb6e00ba3c6775b17b3449c454c6efabb1bdad1 (diff)
downloadstable-diffusion-webui-gfx803-110485d5bb511ab01ac3d890f1deca0502f4c7db.tar.gz
stable-diffusion-webui-gfx803-110485d5bb511ab01ac3d890f1deca0502f4c7db.tar.bz2
stable-diffusion-webui-gfx803-110485d5bb511ab01ac3d890f1deca0502f4c7db.zip
Merge branch 'dev' into test-fp8
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 eb20ff25..7826786c 100644
--- a/modules/ui_loadsave.py
+++ b/modules/ui_loadsave.py
@@ -141,7 +141,7 @@ class UiLoadsave:
def write_to_file(self, current_ui_settings):
with open(self.filename, "w", encoding="utf8") as file:
- json.dump(current_ui_settings, file, indent=4)
+ 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"""