Skip to content

NVR with realtime local object detection for IP cameras

Fix formatting (#15271)

Nicolas Mowenf094c59cd047
diff --git a/frigate/config/config.py b/frigate/config/config.py
index 8fbb9ec6c1..8c0b52e92f 100644
--- a/frigate/config/config.py
+++ b/frigate/config/config.py
@@ -230,12 +230,16 @@ def verify_recording_segments_setup_with_reasonable_time(
try:
seg_arg_index = record_args.index("-segment_time")
except ValueError:
- raise ValueError(f"Camera {camera_config.name} has no segment_time in \
- recording output args, segment args are required for record.")
+ raise ValueError(
+ f"Camera {camera_config.name} has no segment_time in \
+ recording output args, segment args are required for record."
+ )
if int(record_args[seg_arg_index + 1]) > 60:
- raise ValueError(f"Camera {camera_config.name} has invalid segment_time output arg, \
- segment_time must be 60 or less.")
+ raise ValueError(
+ f"Camera {camera_config.name} has invalid segment_time output arg, \
+ segment_time must be 60 or less."
+ )
def verify_zone_objects_are_tracked(camera_config: CameraConfig) -> None: