Fix pip args

This commit is contained in:
Ines Montani 2021-02-01 23:15:00 +11:00
parent b46073234a
commit b9573e9e22
1 changed files with 1 additions and 1 deletions

View File

@ -105,6 +105,6 @@ def download_model(
filename: str, user_pip_args: Optional[Sequence[str]] = None
) -> None:
download_url = about.__download_url__ + "/" + filename
pip_args = user_pip_args if user_pip_args is not None else []
pip_args = list(user_pip_args) if user_pip_args is not None else []
cmd = [sys.executable, "-m", "pip", "install"] + pip_args + [download_url]
run_command(cmd)