mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Remove random prefix in ocr result
This commit is contained in:
parent
e96a5ef1da
commit
e1ae0c17b5
@ -94,8 +94,8 @@ class OcrDungeonList(Ocr):
|
||||
result = re.sub(r'蛀星的旧.*?历战', '蛀星的旧靥•历战', result)
|
||||
|
||||
# 9支援仓段
|
||||
result = result.removeprefix('9')
|
||||
result = result.removeprefix('Q')
|
||||
for word in 'Q9α':
|
||||
result = result.removeprefix(word)
|
||||
return result
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user