From c721e7cfa9f9423b027096bcabc1c92704b10b9f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 8 Mar 2024 16:45:42 -0700 Subject: [PATCH] fix preview comparison (#10338) --- frigate/output/preview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/output/preview.py b/frigate/output/preview.py index 43dd9bb03..5fd7c5f29 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