mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Formatting
This commit is contained in:
parent
6d58872fee
commit
e519957964
@ -288,9 +288,7 @@ class AudioEventMaintainer(threading.Thread):
|
|||||||
|
|
||||||
resp = requests.put(
|
resp = requests.put(
|
||||||
f"{FRIGATE_LOCALHOST}/api/events/{detection['id']}/end",
|
f"{FRIGATE_LOCALHOST}/api/events/{detection['id']}/end",
|
||||||
json={
|
json={"end_time": detection["last_detection"]},
|
||||||
"end_time": detection["last_detection"]
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if resp.status_code == 200:
|
if resp.status_code == 200:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user