Specify output args.

This commit is contained in:
Nicolas Mowen 2022-12-08 19:57:09 -07:00 committed by GitHub
parent cb5b9c1937
commit 3f025fe46b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -854,12 +854,12 @@ def verify_recording_segments_setup_with_reasonable_time(
if seg_arg_index < 0:
raise ValueError(
f"Camera {camera_config.name} has no segment_time arg, segment args are required for record."
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, segment_time must be 60 or less."
f"Camera {camera_config.name} has invalid segment_time output arg, segment_time must be 60 or less."
)