From 7e4bb3b6b840bcef8ed4405c1963c91fe524108c Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 8 Mar 2024 16:39:35 -0700 Subject: [PATCH] fix preview comparison --- 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