Apply suggestions from code review of branch scan-params
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
parent
80760a7d8f
commit
43fa793698
1 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ def validate_capture_params(capture_parameters: CaptureParams) -> None:
|
||||||
)
|
)
|
||||||
):
|
):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Invalid save_resolution: {capture_parameters.save_resolution}. Must be a tuple of two positive integers."
|
f"Invalid save_resolution: {capture_parameters.save_resolution}. Must "
|
||||||
|
"be a tuple of two positive integers."
|
||||||
)
|
)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue