mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix:Refresh time was not added
This commit is contained in:
parent
1f92bcad47
commit
00da431e4a
@ -494,7 +494,6 @@ IslandTransport:
|
|||||||
SubmitStrawberry: false
|
SubmitStrawberry: false
|
||||||
SubmitCotton: false
|
SubmitCotton: false
|
||||||
SubmitOnion: false
|
SubmitOnion: false
|
||||||
|
|
||||||
Island1:
|
Island1:
|
||||||
Receive: false
|
Receive: false
|
||||||
Option1:
|
Option1:
|
||||||
|
|||||||
@ -424,7 +424,9 @@ class IslandTransportRun(IslandUI):
|
|||||||
for comm in commissions:
|
for comm in commissions:
|
||||||
logger.attr(f'Transport Commission', comm)
|
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]}')
|
logger.info(f'Transport finish: {[str(f) for f in future_finish]}')
|
||||||
if not len(future_finish):
|
if not len(future_finish):
|
||||||
logger.info('No island transport running')
|
logger.info('No island transport running')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user