Skip to content

Commit d0f5554

Browse files
authored
Merge pull request #1 from efranken/fix-Touches1D-TypeError
Fix range usage in Touches1D class to prevent TypeError
2 parents d1c24d8 + 435f539 commit d0f5554

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

touch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, data):
5656
verticalSizes = data[int(len(data)/2):]
5757

5858
self.touches = []
59-
for i in range[0:len(verticalLocations)]:
59+
for i in range(0,len(verticalLocations)):
6060
if verticalLocations[i] is not -1:
6161
self.touches.append((verticalLocations[i], verticalSizes[i]))
6262

0 commit comments

Comments
 (0)