smart cut: More typos

pull/163/head
Mike Lang 5 years ago
parent 82346a55ca
commit c6172ce37f

@ -527,7 +527,7 @@ def smart_cut_segments(segments, start, end):
input_feeder.kill() input_feeder.kill()
for proc in procs: for proc in procs:
if proc.poll() is not None: if proc.poll() is not None:
for action in [proc.kill, proc.stdout.close] + [proc.stdin.close if proc is concat_proc else []]: for action in [proc.kill, proc.stdout.close] + ([proc.stdin.close] if proc is concat_proc else []):
try: try:
action() action()
except (OSError, IOError): except (OSError, IOError):

Loading…
Cancel
Save