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

Fix: Sleep length must be non-negative error after DST

This commit is contained in:
LmeSzinc
2021-11-07 17:47:52 +08:00
parent 5d75391e06
commit 5b05a24cab
2 changed files with 16 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ class LoginHandler(Combat):
break
logger.info(f'{self.config.Emulator_PackageName} will be started at {target} for task `{task}`')
time.sleep(target.timestamp() - now.timestamp() + 1)
self.config.wait_until(target)
self.device.app_start()
self.handle_app_login()