From 827ae2c76eeab2e41301125115c71405c2ad3b89 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:05:23 +0800 Subject: [PATCH] Fix: [EN] Handle OCR error Echo/ofWar --- tasks/daily/daily_quest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/daily/daily_quest.py b/tasks/daily/daily_quest.py index 7ea13cdd2..699fbfc9e 100644 --- a/tasks/daily/daily_quest.py +++ b/tasks/daily/daily_quest.py @@ -41,6 +41,8 @@ class DailyQuestOcr(Ocr): result = "已领取" if self.lang == 'en': result = result.replace('wor(d', 'world') + # Echo/ofWar + result = result.replace('cho/of', 'cho of') if "progress" in result.lower(): result = "In Progress" if "claimed" in result.lower():