forked from Github/frigate
Fix incorrect recording config access (#13524)
* Fix incorrect access * Formatting
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user