mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Fix event parsing
This commit is contained in:
parent
8970520b0d
commit
b2981b5788
@ -196,7 +196,7 @@ class AudioEventMaintainer(threading.Thread):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if resp.status_code == 200:
|
if resp.status_code == 200:
|
||||||
event_id = resp.json()[0]["event_id"]
|
event_id = resp.json()["event_id"]
|
||||||
self.detections[label] = {
|
self.detections[label] = {
|
||||||
"id": event_id,
|
"id": event_id,
|
||||||
"label": label,
|
"label": label,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user