mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Fix: Sleep < 0 if it's hoarding tasks but not closing game
- Minor typo in GridInfo.merge()
This commit is contained in:
@@ -178,7 +178,7 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig):
|
||||
self.update()
|
||||
return 'Restart'
|
||||
else:
|
||||
time.sleep(task.next_run.timestamp() - datetime.now().timestamp() + 1)
|
||||
time.sleep(target.timestamp() - datetime.now().timestamp() + 1)
|
||||
return self.get_next()
|
||||
else:
|
||||
logger.critical('No task waiting or pending')
|
||||
|
||||
Reference in New Issue
Block a user