Skip to content

Commit

Permalink
Tool: lrc_merge default -sep choosing bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
duangsuse committed Apr 25, 2020
1 parent a4ba71a commit 85a75c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lrc_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def header(t, surr): return "%s%02i:%02i.%02i%s" %(surr[0], t/60, t%60, t%1.0 *
def formatLine(line):
(t_fst, s_fst) = line[0]
fmtFst = header(t_fst, surr1)+s_fst
sep1 = cfgOrDefault(sep, sepDeft, line)
sep1 = cfgOrDefault(sep, sepDeft, map(lambda note: note[1], line))
return fmtFst +sep1+ sep1.join([header(t, surr2) + s for (t, s) in line[1:]])
return linesep.join(map(formatLine, lrc_lines))

Expand Down

0 comments on commit 85a75c8

Please sign in to comment.