mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Formatting
This commit is contained in:
parent
1ef06743e6
commit
ef3ed9a48c
@ -278,7 +278,9 @@ class CameraWatchdog(threading.Thread):
|
||||
|
||||
if self.config.record.enabled and "record" in p["roles"]:
|
||||
latest_segment_time = self.get_latest_segment_timestamp(
|
||||
p.get("latest_segment_time", datetime.datetime.now().timestamp())
|
||||
p.get(
|
||||
"latest_segment_time", datetime.datetime.now().timestamp()
|
||||
)
|
||||
)
|
||||
|
||||
if datetime.datetime.now().timestamp() > (latest_segment_time + 30):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user