From: James Bunton Date: Tue, 23 Feb 2016 06:42:50 +0000 (+1100) Subject: batch-run: fix abspath X-Git-Url: https://code.delx.au/transcoding/commitdiff_plain/83e3caeef916ef672b0b3f8a4c40e46831dce1c9 batch-run: fix abspath --- diff --git a/batch-run b/batch-run index dcb60d8..5290dc8 100755 --- a/batch-run +++ b/batch-run @@ -80,8 +80,9 @@ def parse_args(): def main(): opts, args = parse_args() - filenames = map(os.path.abspath, args) + filenames = list(map(os.path.abspath, args)) for filename in filenames: + print("Processing", filename) make_and_chdir(filename) with open(filename) as fd: batch_process(opts, parse_file(fd))