mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-20 01:32:50 +08:00
Fix: [JP] Remove wrong "/" in meta counter (#5608)
This commit is contained in:
@@ -41,6 +41,13 @@ class MetaDigitCounter(DigitCounter):
|
|||||||
if re.match(r'^[0123]3$', result):
|
if re.match(r'^[0123]3$', result):
|
||||||
result = f'{result[0]}/{result[1]}'
|
result = f'{result[0]}/{result[1]}'
|
||||||
|
|
||||||
|
# 1/40/1400 -> 140/1400
|
||||||
|
for suffix in ['/1400', '/200']:
|
||||||
|
if result.endswith(suffix):
|
||||||
|
point = result[:-len(suffix)]
|
||||||
|
point = point.replace('/', '')
|
||||||
|
result = point + suffix
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user