Upd: daily quests ocr exceptions (#8)

This commit is contained in:
Hengyu 2023-06-15 12:01:51 +08:00 committed by GitHub
parent c793a6ad3d
commit a54826aa94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,8 +16,9 @@ class DailyQuestOcr(Ocr):
def after_process(self, result):
result = super().after_process(result)
if self.lang == 'ch':
result = result.replace("J", "")
result = result.replace(";", "")
result = result.replace("宇审", "宇宙")
result = result.replace("响J", "响」")
return result