1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +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:
SarContDeli
2024-11-19 12:37:59 +08:00
committed by GitHub
parent bc5e6ed86a
commit bd680eb3a8
7 changed files with 65 additions and 12 deletions

View File

@@ -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, '')