From 47a3e0f9b74fe328b0b37d89a2806f88b5f32430 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 13 May 2024 08:55:43 -0600 Subject: [PATCH] formatting --- frigate/util/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/util/config.py b/frigate/util/config.py index 18641fff0..f395ee125 100644 --- a/frigate/util/config.py +++ b/frigate/util/config.py @@ -162,7 +162,7 @@ def get_relative_coordinates( x = int(points[i]) y = int(points[i + 1]) - if x > frame_shape[1] or y > frame_shape[0]: + if x > frame_shape[1] or y > frame_shape[0]: logger.error( f"Not applying mask due to invalid coordinates. {x},{y} is outside of the detection resolution {frame_shape[1]}x{frame_shape[0]}. Use the editor in the UI to correct the mask." ) @@ -185,7 +185,7 @@ def get_relative_coordinates( x = int(points[i]) y = int(points[i + 1]) - if x > frame_shape[1] or y > frame_shape[0]: + if x > frame_shape[1] or y > frame_shape[0]: logger.error( f"Not applying mask due to invalid coordinates. {x},{y} is outside of the detection resolution {frame_shape[1]}x{frame_shape[0]}. Use the editor in the UI to correct the mask." )