Commit 84860f21 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #1648 from xkunglu:master

parents 42a889ef 9757b718
...@@ -221,7 +221,7 @@ if __name__ == '__main__': ...@@ -221,7 +221,7 @@ if __name__ == '__main__':
"specify the -g parameter")) "specify the -g parameter"))
sys.exit(1) sys.exit(1)
img_range = map(int,parse_sequence(args.range)) img_range = list(map(int,parse_sequence(args.range)))
if len(img_range)!=2: if len(img_range)!=2:
print("Error: Please specify the -r parameter in form <first_image_index>,<last_image_index>") print("Error: Please specify the -r parameter in form <first_image_index>,<last_image_index>")
sys.exit(1) sys.exit(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment