修复加载配置时的 bug
This commit is contained in:
parent
de563198ac
commit
e5456ef67c
@ -41,7 +41,10 @@ def load_config(config_path: str) -> AppConfig:
|
||||
chrome_config = ChromeConfig(**config_dict["chrome"])
|
||||
|
||||
AppCtx.g_app_config = AppConfig(
|
||||
debug=config_dict["debug"], database=database_config, chrome=chrome_config
|
||||
debug=config_dict["debug"],
|
||||
wap_screenshot=config_dict["wap_screenshot"],
|
||||
database=database_config,
|
||||
chrome=chrome_config
|
||||
)
|
||||
return AppCtx.g_app_config
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user