From 1ad18acf8c775c11c09c8a9e1ad1b7e6c1fe2ae6 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 11 Feb 2025 14:05:46 -0700 Subject: [PATCH] Formatting --- frigate/api/media.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frigate/api/media.py b/frigate/api/media.py index 1c3695c2f..a9455919b 100644 --- a/frigate/api/media.py +++ b/frigate/api/media.py @@ -1088,9 +1088,7 @@ def event_clip(request: Request, event_id: str): content={"success": False, "message": "Clip not available"}, status_code=404 ) - end_ts = ( - datetime.now().timestamp() if event.end_time is None else event.end_time - ) + end_ts = datetime.now().timestamp() if event.end_time is None else event.end_time return recording_clip(request, event.camera, event.start_time, end_ts)