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':