From 2b8ec3ebac7b0bda56f69a665f0d29b37b208dab Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 12 Dec 2024 07:11:29 -0700 Subject: [PATCH] Cleanup --- frigate/events/cleanup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frigate/events/cleanup.py b/frigate/events/cleanup.py index da8dbacdf..675d4e76f 100644 --- a/frigate/events/cleanup.py +++ b/frigate/events/cleanup.py @@ -257,10 +257,7 @@ class EventCleanup(threading.Thread): events_to_update = [] for batch in query.iterator(): - try: - events_to_update.extend([event.id for event in batch]) - except TypeError: - events_to_update.append(batch) + events_to_update.append(batch) if len(events_to_update) >= CHUNK_SIZE: logger.debug(