fix:Fixed config.json loader in config.py

This commit is contained in:
Kaning123 2026-03-14 13:01:11 +08:00
parent 6e3db0126c
commit eedb06b303

View File

@ -14,7 +14,7 @@ def merge_dir_txt2(*TXT):
config_json_location = merge_dir_txt2(current_dir,"config.json")
with open(str(config_json_location),"r") as f:
__info__ = f.read()
__info__ = json.loads(__info__)
i18n = I18nAuto(language=os.environ.get("language", "Auto"))