1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-20 22:35:35 +08:00

Fix: Redundant restart when checker recovered (#1579)

This commit is contained in:
Horizon101011
2022-08-31 17:43:07 +08:00
parent 28f1411933
commit 6003d5d8b6

View File

@@ -444,7 +444,7 @@ class AzurLaneAutoScript:
# So update it once recovered
del_cached_property(self, 'config')
logger.info('Server or network is recovered. Restart game client')
self.run('restart')
self.config.task_call('Restart')
# Get task
task = self.get_next_task()
# Init device and change server