yet another py3 map() issue

"hey i know lets make everything return an iterable but not update anything else to accept them"
chrusher/backfiller_error_handler
Mike Lang 3 years ago committed by Mike Lang
parent 62bd6539ea
commit 7599681b6d

@ -342,7 +342,7 @@ def ffmpeg_cut_stdin(output_file, cut_start, duration, encode_args):
# permission to "overwrite" it. # permission to "overwrite" it.
'-y', '-y',
] ]
args = map(str, args) args = list(map(str, args))
logging.info("Running full cut with args: {}".format(" ".join(args))) logging.info("Running full cut with args: {}".format(" ".join(args)))
return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=output_file) return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=output_file)

Loading…
Cancel
Save