From 91693392f27a75e0db487faf8d696a277d2a47fc Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:58:58 -0600 Subject: [PATCH] fix ruff --- frigate/ptz/autotrack.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frigate/ptz/autotrack.py b/frigate/ptz/autotrack.py index 04786f99a..8266e4b87 100644 --- a/frigate/ptz/autotrack.py +++ b/frigate/ptz/autotrack.py @@ -1154,9 +1154,7 @@ class PtzAutoTracker: "target_box" ] + self._predict_area_after_time( camera, predicted_movement_time - ) / ( - camera_width * camera_height - ) + ) / (camera_width * camera_height) logger.debug( f"{camera}: Zooming prediction: predicted movement time: {predicted_movement_time}, original box: {self.tracked_object_metrics[camera]['target_box']}, calculated box: {calculated_target_box}" )