diff --git a/touch.py b/touch.py index 9ee6ef1..8791205 100644 --- a/touch.py +++ b/touch.py @@ -56,7 +56,7 @@ def __init__(self, data): verticalSizes = data[int(len(data)/2):] self.touches = [] - for i in range[0:len(verticalLocations)]: + for i in range(0,len(verticalLocations)): if verticalLocations[i] is not -1: self.touches.append((verticalLocations[i], verticalSizes[i]))