mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Handle missing 0 in TrailblazePowerOcr
This commit is contained in:
parent
a0cbcd0d0a
commit
4a9e8066a0
@ -24,6 +24,8 @@ class TrailblazePowerOcr(DigitCounter):
|
|||||||
result = re.sub(r'[买米装:()]', '', result)
|
result = re.sub(r'[买米装:()]', '', result)
|
||||||
# 61240 -> 6/240
|
# 61240 -> 6/240
|
||||||
result = re.sub(r'1240$', '/240', result)
|
result = re.sub(r'1240$', '/240', result)
|
||||||
|
# 0*0/24 -> 0/240
|
||||||
|
result = re.sub(r'24$', '240', result)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user