Skip to content

NVR with realtime local object detection for IP cameras

fix preview comparison (#10338)

Nicolas Mowenc721e7cfa9f9
diff --git a/frigate/output/preview.py b/frigate/output/preview.py
index 43dd9bb03f..5fd7c5f29d 100644
--- a/frigate/output/preview.py
+++ b/frigate/output/preview.py
@@ -212,7 +212,7 @@ class PreviewRecorder:
return False
# send frame if a non-stationary object is in a zone
- if len(active_objs > 0):
+ if len(active_objs) > 0:
self.last_output_time = frame_time
return True