mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Formatting
This commit is contained in:
parent
9d4aef0e03
commit
46ec2c77dd
@ -75,7 +75,9 @@ class StorageMaintainer(threading.Thread):
|
||||
for camera in self.config.cameras.keys():
|
||||
logger.debug(f"Start camera: {camera}.")
|
||||
# Get last 24 hours of recordings seconds
|
||||
segment_count = int(7200 / self.avg_segment_sizes[camera]["segment_duration"])
|
||||
segment_count = int(
|
||||
7200 / self.avg_segment_sizes[camera]["segment_duration"]
|
||||
)
|
||||
recordings: Recordings = (
|
||||
Recordings.select()
|
||||
.where(Recordings.camera == camera)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user