mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Fix thumbnail failure
This commit is contained in:
parent
17901fcfef
commit
0026551809
@ -770,9 +770,11 @@ class CameraState:
|
||||
}
|
||||
)
|
||||
|
||||
# if the object's thumbnail is not from the current frame
|
||||
if obj.false_positive or obj.thumbnail_data["frame_time"] != frame_time:
|
||||
# if we don't have access to the current frame or
|
||||
# if the object's thumbnail is not from the current frame, skip
|
||||
if not current_frame or obj.false_positive or obj.thumbnail_data["frame_time"] != frame_time:
|
||||
continue
|
||||
|
||||
if object_type in self.best_objects:
|
||||
current_best = self.best_objects[object_type]
|
||||
now = datetime.datetime.now().timestamp()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user