From f52dd79ab2f0f1494fbd4124c2a6c4b4d4b0791f Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 29 Apr 2023 13:25:24 -0600 Subject: [PATCH] Formatting --- frigate/record/cleanup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/record/cleanup.py b/frigate/record/cleanup.py index 1b1b52c19..d649a2d87 100644 --- a/frigate/record/cleanup.py +++ b/frigate/record/cleanup.py @@ -142,7 +142,9 @@ class RecordingCleanup(threading.Thread): # delete timeline entries relevant to this recording segment Timeline.delete( - Timeline.timestamp.between(recording.start_time, recording.end_time), + Timeline.timestamp.between( + recording.start_time, recording.end_time + ), Timeline.timestamp < expire_date, Timeline.camera == camera, ).execute()