mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 13:59:02 +08:00
Merge pull request #2 from qinsgit/master
Fix:Refresh time was not added
This commit is contained in:
commit
1a9219c7e7
@ -497,7 +497,6 @@ IslandTransport:
|
||||
SubmitStrawberry: false
|
||||
SubmitCotton: false
|
||||
SubmitOnion: false
|
||||
|
||||
Island1:
|
||||
Receive: false
|
||||
Option1:
|
||||
|
||||
@ -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')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user