aboutsummaryrefslogtreecommitdiffstats
path: root/modules/options.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-11-26 13:15:56 +0000
committerGitHub <noreply@github.com>2023-11-26 13:15:56 +0000
commit500de919edd2ab1de62546b0d16be72ffaec0c4e (patch)
tree18ba3a33b1fc0e258048b8935edc8935cfbba3b6 /modules/options.py
parent2a40d3c603448d15e209814366f2d6ab25e52398 (diff)
parenta15dd151ffb4d11556028b34561058bc44930427 (diff)
downloadstable-diffusion-webui-gfx803-500de919edd2ab1de62546b0d16be72ffaec0c4e.tar.gz
stable-diffusion-webui-gfx803-500de919edd2ab1de62546b0d16be72ffaec0c4e.tar.bz2
stable-diffusion-webui-gfx803-500de919edd2ab1de62546b0d16be72ffaec0c4e.zip
Merge pull request #14108 from AUTOMATIC1111/json.dump(ensure_ascii=False)
json.dump(ensure_ascii=False)
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: