mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-19 20:02:13 +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):
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user