1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-17 06:25:25 +08:00

Fix: blank case in auto-run config

This commit is contained in:
Mathhew
2022-09-24 10:40:59 +08:00
parent e776ae2964
commit 6e026e6b45

View File

@@ -1203,7 +1203,7 @@ def app():
elif State.deploy_config.Run: elif State.deploy_config.Run:
# TODO: refactor poor_yaml_read() to support list # TODO: refactor poor_yaml_read() to support list
tmp = State.deploy_config.Run.split(",") tmp = State.deploy_config.Run.split(",")
runs = [l.strip("['\"]") for l in tmp if len(l)] runs = [l.strip(" ['\"]") for l in tmp if len(l)]
instances: List[str] = runs instances: List[str] = runs
logger.hr("Webui configs") logger.hr("Webui configs")