mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 10:17:00 +08:00
Fix: Merge latest and resolve conflict in module/campaign/run.py
This commit is contained in:
@@ -48,7 +48,8 @@ class EnemySearchingHandler(InfoHandler):
|
||||
|
||||
# campaign_extract_name_image in CampaignOcr.
|
||||
try:
|
||||
if not len(self.campaign_extract_name_image(self.device.image)):
|
||||
if hasattr(self, 'campaign_extract_name_image') \
|
||||
and not len(self.campaign_extract_name_image(self.device.image)):
|
||||
return False
|
||||
except IndexError:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user