From 10a78674588e0f57bdcee0ec7cd0aa91f9919760 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Thu, 18 May 2023 11:52:42 -0600 Subject: [PATCH] Formatting --- frigate/events/external.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frigate/events/external.py b/frigate/events/external.py index 42cc10e210..ee2906e02c 100644 --- a/frigate/events/external.py +++ b/frigate/events/external.py @@ -127,8 +127,6 @@ def _write_images( # create thumbnail with max height of 175 and save width = int(175 * img_frame.shape[1] / img_frame.shape[0]) - thumb = cv2.resize( - img_frame, dsize=(width, 175), interpolation=cv2.INTER_AREA - ) + thumb = cv2.resize(img_frame, dsize=(width, 175), interpolation=cv2.INTER_AREA) ret, jpg = cv2.imencode(".jpg", thumb) return base64.b64encode(jpg.tobytes()).decode("utf-8")