Fixed wrong variable
This commit is contained in:
parent
e85fcc3f58
commit
a90bd65025
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue