fix: handle command file comments properly
This commit is contained in:
parent
ce9214f537
commit
111def32bf
1 changed files with 1 additions and 3 deletions
|
@ -68,9 +68,7 @@ class SRTMerger:
|
|||
def split_line(line):
|
||||
line = line.strip()
|
||||
parts = []
|
||||
for part in shlex.split(line):
|
||||
if part.startswith('#'):
|
||||
break
|
||||
for part in shlex.split(line, comments = True):
|
||||
parts.append(part)
|
||||
return parts
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue