fix preview comparison (#10338)

This commit is contained in:
Nicolas Mowen
2024-03-08 16:45:42 -07:00
committed by GitHub
parent f7122a766e
commit c721e7cfa9

View File

@@ -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