Commit edd4514e authored by SongChiYoung's avatar SongChiYoung

python3 compatible

parent 2bd8d585
...@@ -231,7 +231,7 @@ if __name__ == '__main__': ...@@ -231,7 +231,7 @@ if __name__ == '__main__':
state = load_json(args.state) state = load_json(args.state)
algorithm_list = parse_sequence(args.algorithms) algorithm_list = parse_sequence(args.algorithms)
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