fix var name

This commit is contained in:
Blake Blackshear 2020-09-08 21:21:15 -05:00
parent 606fa6f6d5
commit bfcaabecfa

View File

@ -224,7 +224,7 @@ class CameraState():
for c in self.callbacks['object_status']: for c in self.callbacks['object_status']:
c(self.name, obj_name, 'OFF') c(self.name, obj_name, 'OFF')
for c in self.callbacks['snapshot']: for c in self.callbacks['snapshot']:
c(self.name, self.best_objects[object_type]) c(self.name, self.best_objects[obj_name])
class TrackedObjectProcessor(threading.Thread): class TrackedObjectProcessor(threading.Thread):