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

Fix:Refresh time was not added

This commit is contained in:
qin 2025-10-19 00:33:08 +08:00 committed by sui-feng-cb
parent 1f92bcad47
commit 00da431e4a
2 changed files with 3 additions and 2 deletions

View File

@ -494,7 +494,6 @@ IslandTransport:
SubmitStrawberry: false
SubmitCotton: false
SubmitOnion: false
Island1:
Receive: false
Option1:

View File

@ -424,7 +424,9 @@ class IslandTransportRun(IslandUI):
for comm in commissions:
logger.attr(f'Transport Commission', comm)
future_finish = sorted([f for f in commissions.select(status='running').get('finish_time') if f is not None])
running_finish = [f for f in commissions.select(status='running').get('finish_time') if f is not None]
refreshing_finish = [f for f in commissions.select(status='refreshing').get('finish_time') if f is not None]
future_finish = sorted(running_finish + refreshing_finish)
logger.info(f'Transport finish: {[str(f) for f in future_finish]}')
if not len(future_finish):
logger.info('No island transport running')