From 625e9b08f07bf06c95216c06f363e41331b81716 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Sat, 2 Sep 2023 21:07:13 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20[CN]=20Handle=20ocr=20result=20with=20"?= =?UTF-8?q?=E4=BA=86"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/daily/daily_quest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/daily/daily_quest.py b/tasks/daily/daily_quest.py index f50947ee5..c5f6d0a20 100644 --- a/tasks/daily/daily_quest.py +++ b/tasks/daily/daily_quest.py @@ -31,6 +31,7 @@ class DailyQuestOcr(Ocr): if self.lang == 'ch': result = result.replace("J", "」") result = result.replace(";", "」") + result = result.replace("了", "」") result = result.replace("宇审", "宇宙") # 进行中」hbadarin if "进行中" in result: