mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Add: fake module PIL for webui (#4374)
* Add: fake module PIL for webui * Fix: Load runtime before module PIL * Upd: Error message of MAA loading failure * Upd: Adjust timing of import fake module
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import importlib
|
||||
|
||||
from module.config.config import AzurLaneConfig
|
||||
from module.logger import logger
|
||||
from module.submodule.utils import *
|
||||
|
||||
@@ -15,6 +14,8 @@ def load_mod(name):
|
||||
|
||||
|
||||
def load_config(config_name):
|
||||
from module.config.config import AzurLaneConfig
|
||||
|
||||
mod_name = get_config_mod(config_name)
|
||||
if mod_name == 'alas':
|
||||
return AzurLaneConfig(config_name, '')
|
||||
|
||||
Reference in New Issue
Block a user