Skip to content
Snippets Groups Projects
Commit 859ac47c authored by Ossi Laine's avatar Ossi Laine
Browse files

Fixed bug by typecasting value to int

parent 3caef327
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ def generate_answer_row(participant, pages, questions, embody_questions):
try:
# for every brush stroke, increment the pixel
# value for every brush stroke
coordinates_to_bitmap[point[0]][point[1]] += 0.1
coordinates_to_bitmap[int(point[0])][int(point[1])] += 0.1
except IndexError:
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment