Skip to content

Commit edd4514

Browse files
committed
python3 compatible
1 parent 2bd8d58 commit edd4514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/xphoto/samples/color_balance_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def build_html_table(out, state, stat_list, img_range):
231231
state = load_json(args.state)
232232

233233
algorithm_list = parse_sequence(args.algorithms)
234-
img_range = map(int, parse_sequence(args.range))
234+
img_range = list(map(int, parse_sequence(args.range)))
235235
if len(img_range)!=2:
236236
print("Error: Please specify the -r parameter in form <first_image_index>,<last_image_index>")
237237
sys.exit(1)

0 commit comments

Comments
 (0)