Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Oct 29, 2023
1 parent 852d5a9 commit 47cc355
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frigate/video.py
Expand Up @@ -240,7 +240,9 @@ def run(self):
)
)

if datetime.datetime.now().astimezone(datetime.timezone.utc) > (latest_segment_time + datetime.timedelta(seconds=120)):
if datetime.datetime.now().astimezone(datetime.timezone.utc) > (
latest_segment_time + datetime.timedelta(seconds=120)
):
self.logger.error(
f"No new recording segments were created for {self.camera_name} in the last 120s. restarting the ffmpeg record process..."
)
Expand Down

0 comments on commit 47cc355

Please sign in to comment.