1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: Device is never loaded before delaying task Restart (#1437)

This commit is contained in:
LmeSzinc 2022-07-30 00:28:55 +08:00
parent 9786e2951b
commit c1ff4348e7

View File

@ -418,6 +418,7 @@ class AzurLaneAutoScript:
logger.info(f"Alas [{self.config_name}] exited.")
break
task = self.get_next_task()
_ = self.device
# Skip first restart
if is_first and task == 'Restart':