From 0e870b4358529eb66fa6751f9265ea9ad2b2cfe4 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 30 Apr 2023 14:15:56 -0500 Subject: [PATCH] fix timeline delete --- frigate/record/cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/record/cleanup.py b/frigate/record/cleanup.py index d649a2d87..75784133a 100644 --- a/frigate/record/cleanup.py +++ b/frigate/record/cleanup.py @@ -141,7 +141,7 @@ class RecordingCleanup(threading.Thread): deleted_recordings.add(recording.id) # delete timeline entries relevant to this recording segment - Timeline.delete( + Timeline.delete().where( Timeline.timestamp.between( recording.start_time, recording.end_time ),