mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Formatting
This commit is contained in:
parent
852d5a9cc6
commit
47cc355a24
@ -240,7 +240,9 @@ class CameraWatchdog(threading.Thread):
|
||||
)
|
||||
)
|
||||
|
||||
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..."
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user