aboutsummaryrefslogtreecommitdiff
path: root/modules/cache.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-12-14 10:10:43 +0300
committerGitHub <noreply@github.com>2023-12-14 10:10:43 +0300
commit097140ac1a3caf6e3c9980a757d4b52e6a76b789 (patch)
treec31cf29908f94e7f6792b063df4543d6f83b423c /modules/cache.py
parentbda86f0fd9653657c146f7c1128f92771d16ad4e (diff)
parent778a30a95e216f9f7ce0126dbbdb1334afc3d796 (diff)
Merge branch 'dev' into master
Diffstat (limited to 'modules/cache.py')
-rw-r--r--modules/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache.py b/modules/cache.py
index ff26a213..2d37e7b9 100644
--- a/modules/cache.py
+++ b/modules/cache.py
@@ -32,7 +32,7 @@ def dump_cache():
with cache_lock:
cache_filename_tmp = cache_filename + "-"
with open(cache_filename_tmp, "w", encoding="utf8") as file:
- json.dump(cache_data, file, indent=4)
+ json.dump(cache_data, file, indent=4, ensure_ascii=False)
os.replace(cache_filename_tmp, cache_filename)