mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: Raise exception in case name does not belong anywhere
indicating malformed timing of screen capture for OCR
This commit is contained in:
@@ -32,6 +32,8 @@ class CampaignOcr(ModuleBase):
|
||||
return 1
|
||||
elif name in ['b', 'd', 'ex_ex']:
|
||||
return 2
|
||||
else:
|
||||
raise CampaignNameError
|
||||
|
||||
@staticmethod
|
||||
def _campaign_ocr_result_process(result):
|
||||
|
||||
Reference in New Issue
Block a user