Fixed wrong variable

This commit is contained in:
Maximilian Giller 2021-12-03 17:39:38 +01:00
parent e85fcc3f58
commit a90bd65025

View file

@ -74,7 +74,7 @@ class PeopleCounter ():
# Is valid?
for direction in Directions:
# Is there at least one record for every direction?
if len(directionState[directionState]) <= 0:
if len(directionState[direction]) <= 0:
return 0
# Did every record start and end?