Commit 859ac47c authored by Ossi Laine's avatar Ossi Laine
Browse files

Fixed bug by typecasting value to int

parent 3caef327
......@@ -291,7 +291,7 @@ def generate_answer_row(participant, pages, questions, embody_questions):
# 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:
Supports Markdown
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