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