Skip to content

Commit 85a75c8

Browse files
committed
Tool: lrc_merge default -sep choosing bug fix
1 parent a4ba71a commit 85a75c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lrc_merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def header(t, surr): return "%s%02i:%02i.%02i%s" %(surr[0], t/60, t%60, t%1.0 *
6060
def formatLine(line):
6161
(t_fst, s_fst) = line[0]
6262
fmtFst = header(t_fst, surr1)+s_fst
63-
sep1 = cfgOrDefault(sep, sepDeft, line)
63+
sep1 = cfgOrDefault(sep, sepDeft, map(lambda note: note[1], line))
6464
return fmtFst +sep1+ sep1.join([header(t, surr2) + s for (t, s) in line[1:]])
6565
return linesep.join(map(formatLine, lrc_lines))
6666

0 commit comments

Comments
 (0)