Skip to content

Commit 889c92b

Browse files
committed
Merge remote-tracking branch 'origin/main' into task/7188-refactor-detect-to-an-oop-based-implementation
2 parents 07b87ab + 0ae0fbc commit 889c92b

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

OTVision/detect/cli.py

-7
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ def __assert_cli_args_valid(self, args: Namespace) -> None:
156156
"No paths have been defined in the user config."
157157
)
158158
)
159-
if args.expected_duration is None:
160-
raise CliParseError(
161-
"Required option 'expected duration' is missing! "
162-
"It must be specified in the config yaml file under "
163-
"key 'EXPECTED_DURATION' "
164-
"or passed as CLI option 'expected_duration'."
165-
)
166159

167160
def _parse_files(self, files: list[str] | None) -> list[Path] | None:
168161
if files is None:

install.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FOR /F "tokens=* USEBACKQ" %%F IN (`python --version`) DO SET PYTHON_VERSION=%%F
44

55
echo %PYTHON_VERSION%
66
if "x%PYTHON_VERSION:3.12=%"=="x%PYTHON_VERSION%" (
7-
echo "Python Version 3.11 is not installed in environment." & cmd /K & exit
7+
echo "Python Version 3.12 is not installed in environment." & cmd /K & exit
88
)
99

1010
python -m venv venv

0 commit comments

Comments
 (0)