diff options
author | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-12-02 09:00:09 +0000 |
---|---|---|
committer | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-12-02 09:00:09 +0000 |
commit | 110485d5bb511ab01ac3d890f1deca0502f4c7db (patch) | |
tree | 4335df77c422985e28b30c67ea846ca71e5ef1d7 /modules/cache.py | |
parent | 3d341ebc7dcb44df3b4c013b3805c08d8a35e24a (diff) | |
parent | 0bb6e00ba3c6775b17b3449c454c6efabb1bdad1 (diff) | |
download | stable-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/cache.py')
-rw-r--r-- | modules/cache.py | 2 |
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)
|