From 98c492197c30704659d49f3a42379386e92f1f14 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 19 Mar 2024 14:07:23 -0600 Subject: [PATCH] Formatting --- frigate/config.py | 2 +- frigate/object_processing.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frigate/config.py b/frigate/config.py index d3820f47e..55acc1a44 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -518,7 +518,7 @@ class ZoneConfig(BaseModel): loitering_time: int = Field( default=0, ge=0, - title="Number of seconds that an object must loiter to be considered in the zone." + title="Number of seconds that an object must loiter to be considered in the zone.", ) objects: List[str] = Field( default_factory=list, diff --git a/frigate/object_processing.py b/frigate/object_processing.py index b2a8559c2..4cbaa11d6 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -535,9 +535,7 @@ class CameraState: ): max_target_box = self.ptz_autotracker_thread.ptz_autotracker.tracked_object_metrics[ self.name - ][ - "max_target_box" - ] + ]["max_target_box"] side_length = max_target_box * ( max( self.camera_config.detect.width,