mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: [EN] Handle OCR error Echo/ofWar
This commit is contained in:
parent
85927da606
commit
827ae2c76e
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user