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

Fix: multi-config auto-run in deploy.yaml

This commit is contained in:
Mathhew
2022-09-21 09:51:16 +08:00
parent 7f8a92a1d5
commit ebe60a48ea
8 changed files with 24 additions and 15 deletions

View File

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