huangrunheng 2 недель назад
Родитель
Сommit
181801d1ce
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      tasks/WantedQuests/script_task.py

+ 2 - 1
tasks/WantedQuests/script_task.py

@@ -24,7 +24,8 @@ from tasks.WantedQuests.config import CooperationType, CooperationSelectMask
 from tasks.WantedQuests.explore import WQExplore, ExploreWantedBoss
 
 
-def _read_location_info(rule: RuleOcr, image):
+def _read_location_info(rule: RuleOcr, image):‘、
+    # https://github.com/runhey/OnmyojiAutoScript/pull/2006
     pattern = r"^(.*?)[((]?数量[::]\s*(\d+)[))]"
     match = re.match(pattern, rule.ocr(image))
     if match and match.group(1):