]> code.delx.au - transcoding/blobdiff - batch-run
batch-run: fix abspath
[transcoding] / batch-run
index dcb60d8aefc0285ed33278961c114b441a324aeb..5290dc840c754515ce400bfcefe38ff48e709913 100755 (executable)
--- 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))