mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix incorrect recording config access (#13524)
* Fix incorrect access * Formatting
This commit is contained in:
parent
9afa1354da
commit
7626dd239a
@ -288,10 +288,7 @@ class AudioEventMaintainer(threading.Thread):
|
||||
|
||||
resp = requests.put(
|
||||
f"{FRIGATE_LOCALHOST}/api/events/{detection['id']}/end",
|
||||
json={
|
||||
"end_time": detection["last_detection"]
|
||||
+ self.config.record.events.post_capture
|
||||
},
|
||||
json={"end_time": detection["last_detection"]},
|
||||
)
|
||||
|
||||
if resp.status_code == 200:
|
||||
|
Loading…
Reference in New Issue
Block a user