feat: 兼容已生成的配置文件

This commit is contained in:
ikun0014
2024-02-22 20:37:41 +08:00
committed by 梓澄qwq
parent 27e2f6677d
commit 1d640f8dd4
3 changed files with 20 additions and 11 deletions

View File

@ -12,7 +12,7 @@ import ujson as _json
def _read_config_file():
try:
with open("./data/config.json", "r", encoding = "utf-8") as f:
with open("./config/config.json", "r", encoding = "utf-8") as f:
return _json.load(f)
except:
pass