Skip to content

NVR with realtime local object detection for IP cameras

Format (#9889)

Nicolas Mowen6476f8ade78a
diff --git a/frigate/output.py b/frigate/output.py
index 33596f5002..91899ef46f 100644
--- a/frigate/output.py
+++ b/frigate/output.py
@@ -443,10 +443,7 @@ class BirdsEyeFrameManager:
# check if we need to reset the layout because there is a different number of cameras
if len(self.active_cameras) - len(active_cameras) == 0:
- if (
- len(self.active_cameras) == 1
- and self.active_cameras != active_cameras
- ):
+ if len(self.active_cameras) == 1 and self.active_cameras != active_cameras:
reset_layout = True
elif max_camera_refresh:
reset_layout = True