1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 23:33:33 +08:00

Fix: dashboard in config_updater

This commit is contained in:
2025-03-18 17:56:01 +08:00
parent 6190cc6128
commit 104ebd2e9d
3 changed files with 283 additions and 283 deletions

View File

@@ -173,7 +173,7 @@ class ConfigGenerator:
data = {}
# Add dashboard to args
dashboard_and_task = {**self.task, **self.dashboard}
for path, groups in deep_iter(dashboard_and_task, depth=3):
for path, groups in deep_iter(dashboard_and_task, min_depth=1, depth=3):
if 'tasks' not in path and 'Dashboard' not in path:
continue
task = path[2] if 'tasks' in path else path[0]