From ec916f0f96d9768370d59254ded4b5e3125a6b32 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Wed, 5 Jul 2023 06:52:29 -0600 Subject: [PATCH] Formatting --- frigate/events/external.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frigate/events/external.py b/frigate/events/external.py index fed33b0f7..23439f2bd 100644 --- a/frigate/events/external.py +++ b/frigate/events/external.py @@ -58,7 +58,11 @@ class ExternalEventProcessor: "sub_label": sub_label, "camera": camera, "start_time": now - camera_config.record.events.pre_capture, - "end_time": now + duration + camera_config.record.events.post_capture if duration is not None else None, + "end_time": now + + duration + + camera_config.record.events.post_capture + if duration is not None + else None, "thumbnail": thumbnail, "has_clip": camera_config.record.enabled and include_recording, "has_snapshot": True,