1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Merge branch 'LmeSzinc:master' into master

This commit is contained in:
zsx2034
2021-12-17 23:26:34 +08:00
committed by GitHub
5 changed files with 35 additions and 20 deletions

View File

@@ -23,6 +23,9 @@ def poor_yaml_write_with_lock(data, file, template_file=DEPLOY_TEMPLATE):
class WebuiConfig:
Language = 'zh-CN'
WebuiPort = 22267
Theme = 'default'
Password = None
def __init__(self, file=DEPLOY_CONFIG):
"""

View File

@@ -59,7 +59,4 @@ def reload():
for key in dic_lang["ja-JP"].keys():
if dic_lang["ja-JP"][key] == key:
dic_lang["ja-JP"][key] = dic_lang["en-US"][key]
global LANG
LANG = WebuiConfig().Language
dic_lang["ja-JP"][key] = dic_lang["en-US"][key]