mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
Catch case where object does not have thumbnail data
This commit is contained in:
parent
8fcb8e54f7
commit
65bb33d1c7
@ -344,6 +344,7 @@ class CameraState:
|
|||||||
# if the object's thumbnail is not from the current frame, skip
|
# if the object's thumbnail is not from the current frame, skip
|
||||||
if (
|
if (
|
||||||
current_frame is None
|
current_frame is None
|
||||||
|
or obj.thumbnail_data is None
|
||||||
or obj.false_positive
|
or obj.false_positive
|
||||||
or obj.thumbnail_data["frame_time"] != frame_time
|
or obj.thumbnail_data["frame_time"] != frame_time
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user