mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Fix: Unable to detect research projects after starting research
This commit is contained in:
@@ -115,7 +115,8 @@ class ResearchQueue(ResearchUI):
|
||||
"""
|
||||
if not self.image_color_count(QUEUE_REMAIN, color=(255, 255, 255), threshold=221, count=100):
|
||||
logger.info('Research queue empty')
|
||||
return None
|
||||
return datetime.now()
|
||||
|
||||
end_time = datetime.now() + OCR_QUEUE_REMAIN.ocr(self.device.image)
|
||||
logger.info(f'The first research ended at: {end_time}')
|
||||
return end_time
|
||||
|
||||
Reference in New Issue
Block a user