This commit is contained in:
arcan1s
2014-06-13 16:40:47 +04:00
parent 7ffb0de47d
commit f7e9ea8049

View File

@ -83,7 +83,7 @@ if __name__ == "__main__":
input = []
if (args.dir):
if (os.path.isdir(args.dir)):
input = [file for file in os.listdir(args.dir) if (os.path.splitext(file)[1] == ".qti")]
input = [os.path.join(args.dir, file) for file in os.listdir(args.dir) if (os.path.splitext(file)[1] == ".qti")]
else:
if (args.input):
for file in args.input.split(','):