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

Merge pull request #2 from qinsgit/master

Fix:Refresh time was not added
This commit is contained in:
sui_feng
2025-10-19 01:25:02 +08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -432,7 +432,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')