From 386dd689f875d5d954c0dab04e3ae561f616d124 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sat, 11 Jan 2025 07:28:22 -0600 Subject: [PATCH] remove unused annotate file --- frigate/plus.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/frigate/plus.py b/frigate/plus.py index 83203356c..143598763 100644 --- a/frigate/plus.py +++ b/frigate/plus.py @@ -116,15 +116,6 @@ class PlusApi: logger.error(f"Failed to upload original: {r.status_code} {r.text}") raise Exception(r.text) - # resize and submit annotate - files = {"file": get_jpg_bytes(image, 640, 70)} - data = presigned_urls["annotate"]["fields"] - data["content-type"] = "image/jpeg" - r = requests.post(presigned_urls["annotate"]["url"], files=files, data=data) - if not r.ok: - logger.error(f"Failed to upload annotate: {r.status_code} {r.text}") - raise Exception(r.text) - # resize and submit thumbnail files = {"file": get_jpg_bytes(image, 200, 70)} data = presigned_urls["thumbnail"]["fields"]