mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Do not handle object if data is None
This commit is contained in:
parent
4515eb4637
commit
6be1b181df
@ -44,6 +44,7 @@ class TimelineProcessor(threading.Thread):
|
||||
continue
|
||||
|
||||
if input_type == EventTypeEnum.tracked_object:
|
||||
if prev_event_data is not None and event_data is not None:
|
||||
self.handle_object_detection(
|
||||
camera, event_type, prev_event_data, event_data
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user