From 6d02060d313a1d9659e45bbe13e923b23a1a13f3 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 29 Jun 2024 07:12:25 -0600 Subject: [PATCH] Fix typing --- frigate/api/media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/media.py b/frigate/api/media.py index 3f3cdb736..c0afb613e 100644 --- a/frigate/api/media.py +++ b/frigate/api/media.py @@ -637,7 +637,7 @@ def vod_event(id): # If the recordings are not found and the event started more than 5 minutes ago, set has_clip to false if ( event.start_time < datetime.now().timestamp() - 300 - and type(vod_response) == tuple + and type(vod_response) is tuple and len(vod_response) == 2 and vod_response[1] == 404 ):