0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-05 08:25:28 +00:00

fix auto pick

This commit is contained in:
firedcto@gmail.com 2024-08-17 00:26:58 +08:00
parent ae41df4ff1
commit 3675d2529e

View File

@ -42,8 +42,8 @@ class AutoPickTask(TriggerTask, BaseWWTask, FindFeature):
threshold=0.8)
if dialog_3_dots:
if self.config.get('Pick Up Black List'):
texts = self.ocr(box=text_area, match=self.config.get('Pick Up Black List'), log=True,
if self.config.get('Pick Up White List'):
texts = self.ocr(box=text_area, match=self.config.get('Pick Up White List'), log=True,
target_height=540)
if texts:
logger.info(f'found Pick Up White List {texts}')