mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Opt: Refactor deploy config
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from typing import Dict
|
||||
|
||||
from module.config.utils import *
|
||||
from module.webui.config import WebuiConfig
|
||||
from module.webui.config import DeployConfig
|
||||
|
||||
LANG = "zh-CN"
|
||||
TRANSLATE_MODE = False
|
||||
@@ -17,7 +17,7 @@ def set_language(s: str, refresh=False):
|
||||
else:
|
||||
LANG = "en-US"
|
||||
|
||||
WebuiConfig().Language = LANG
|
||||
DeployConfig().Language = LANG
|
||||
|
||||
if refresh:
|
||||
from pywebio.session import run_js
|
||||
|
||||
Reference in New Issue
Block a user