mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Correct OcrDungeonList result (#37)
This commit is contained in:
parent
32f83acafb
commit
862a0b7453
@ -65,8 +65,11 @@ class OcrDungeonNav(Ocr):
|
||||
|
||||
|
||||
class OcrDungeonList(Ocr):
|
||||
pass
|
||||
|
||||
def after_process(self, result):
|
||||
result = super().after_process(result)
|
||||
if self.lang == 'ch':
|
||||
result = result.replace('翼', '巽') # 巽风之形
|
||||
return result
|
||||
|
||||
class OcrDungeonListLimitEntrance(OcrDungeonList):
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user