Fixed wrong argument count

This commit is contained in:
Maximilian Giller 2021-12-03 18:37:14 +01:00
parent f2a77fae2b
commit 9799e1405b

View file

@ -61,7 +61,7 @@ class PeopleCounter ():
countChange: int = self.getCountChange(self.directionState)
# Hooks
th = threading.Thread(target=self.handleCallbacks, args=(self,countChange))
th = threading.Thread(target=self.handleCallbacks, args=(countChange,))
th.start()
# Reset records