Fix: [EN] Handle OCR error Echo/ofWar

This commit is contained in:
LmeSzinc 2023-09-19 15:05:23 +08:00
parent 85927da606
commit 827ae2c76e

View File

@ -41,6 +41,8 @@ class DailyQuestOcr(Ocr):
result = "已领取" result = "已领取"
if self.lang == 'en': if self.lang == 'en':
result = result.replace('wor(d', 'world') result = result.replace('wor(d', 'world')
# Echo/ofWar
result = result.replace('cho/of', 'cho of')
if "progress" in result.lower(): if "progress" in result.lower():
result = "In Progress" result = "In Progress"
if "claimed" in result.lower(): if "claimed" in result.lower():