Update frigate/http.py

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
vanseforge 2024-02-07 17:31:58 +01:00 committed by GitHub
parent 34336cfbbf
commit c98410895d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -842,7 +842,7 @@ def label_clip(camera_name, label):
event_query = event_query.where(Event.label == label)
try:
event = event_query.scalar()
event = event_query.get()
return event_clip(event)
except DoesNotExist: