aboutsummaryrefslogtreecommitdiffstats
path: root/modules/options.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-11-26 12:55:50 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-11-26 12:56:21 +0000
commita15dd151ffb4d11556028b34561058bc44930427 (patch)
tree18ba3a33b1fc0e258048b8935edc8935cfbba3b6 /modules/options.py
parent2a40d3c603448d15e209814366f2d6ab25e52398 (diff)
downloadstable-diffusion-webui-gfx803-a15dd151ffb4d11556028b34561058bc44930427.tar.gz
stable-diffusion-webui-gfx803-a15dd151ffb4d11556028b34561058bc44930427.tar.bz2
stable-diffusion-webui-gfx803-a15dd151ffb4d11556028b34561058bc44930427.zip
json.dump(ensure_ascii=False)
improve json readability
Diffstat (limited to 'modules/options.py')
-rw-r--r--modules/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/options.py b/modules/options.py
index 7703d80e..40cb4799 100644
--- a/modules/options.py
+++ b/modules/options.py
@@ -158,7 +158,7 @@ class Options:
assert not cmd_opts.freeze_settings, "saving settings is disabled"
with open(filename, "w", encoding="utf8") as file:
- json.dump(self.data, file, indent=4)
+ json.dump(self.data, file, indent=4, ensure_ascii=False)
def same_type(self, x, y):
if x is None or y is None: