Merge branch 'preview'

Former-commit-id: 1cc2293d41d6ea704fa140d1ce4fe10eba9b60a5
This commit is contained in:
Physton
2023-05-15 23:09:25 +08:00
15 changed files with 1195 additions and 738 deletions

View File

@@ -58,7 +58,7 @@ class storage:
def __set(self, key, data):
file_path = self.__get_data_filename(key)
with open(file_path, 'w') as f:
json.dump(data, f, indent=4, ensure_ascii=False)
json.dump(data, f, indent=4, ensure_ascii=True)
def set(self, key, data):
while self.__is_locked(key):