Skip to content

Commit

Permalink
Format (#9889)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Feb 16, 2024
1 parent 42bf614 commit 6476f8a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frigate/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,7 @@ def update_frame(self):

# 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
Expand Down

0 comments on commit 6476f8a

Please sign in to comment.