From c7a414cfaabadcacfd6c60b5035ebf91fc1a1a01 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Thu, 13 Jan 2022 18:34:45 -0700 Subject: [PATCH] Fix formatting change in http.py --- frigate/http.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frigate/http.py b/frigate/http.py index 6628bd1a5..ffc718b18 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -396,13 +396,7 @@ def best(camera_name, label): box_size = 300 box = best_object.get("box", (0, 0, box_size, box_size)) region = calculate_region( - best_frame.shape, - box[0], - box[1], - box[2], - box[3], - box_size, - multiplier=1.1, + best_frame.shape, box[0], box[1], box[2], box[3], box_size, multiplier=1.1, ) best_frame = best_frame[region[1] : region[3], region[0] : region[2]]