Fixed missing parameter
This commit is contained in:
parent
538419718d
commit
361c972b8b
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class PeopleCounter ():
|
|||
cb(countChange)
|
||||
|
||||
def updateState(self, direction: Directions, triggered: bool) -> bool:
|
||||
currentlyTriggered = self.directionState[direction] == None
|
||||
currentlyTriggered = self.directionState[direction][END_TIME] == None
|
||||
|
||||
if triggered and not currentlyTriggered:
|
||||
# Set as new beginning for this direction
|
||||
|
|
Loading…
Reference in a new issue