Fix: Correct OcrDungeonList result (#37)

This commit is contained in:
X-Zero-L 2023-07-04 18:20:03 +08:00 committed by GitHub
parent 32f83acafb
commit 862a0b7453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):