mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
7a502772fb
commit
0db3063829
@ -33,7 +33,7 @@ def _2_f(line, args):
|
||||
dumptime = Counter()
|
||||
cntx = 1
|
||||
lastc = None
|
||||
for c in line:
|
||||
for c in list(line) + [0]:
|
||||
if c != lastc:
|
||||
dumptime[cntx] += 1
|
||||
lastc = c
|
||||
|
Loading…
x
Reference in New Issue
Block a user