From 7599681b6d057242b864ce92a4c2b6713e996b92 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Sun, 26 Sep 2021 10:51:43 +1000 Subject: [PATCH] yet another py3 map() issue "hey i know lets make everything return an iterable but not update anything else to accept them" --- common/common/segments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common/segments.py b/common/common/segments.py index 7a6e1da..dbc9cfc 100644 --- a/common/common/segments.py +++ b/common/common/segments.py @@ -342,7 +342,7 @@ def ffmpeg_cut_stdin(output_file, cut_start, duration, encode_args): # permission to "overwrite" it. '-y', ] - args = map(str, args) + args = list(map(str, args)) logging.info("Running full cut with args: {}".format(" ".join(args))) return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=output_file)