🚨 fix hound 🐶

This commit is contained in:
Ondrej Samohel 2022-08-12 17:43:02 +02:00
parent 7176723aa5
commit 60ea9728f6
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -496,7 +496,6 @@ class OpenPypeVersion(semver.VersionInfo):
ValueError: if invalid path is specified.
"""
installed_version = OpenPypeVersion.get_installed_version()
openpype_versions = []
if not openpype_dir.exists() and not openpype_dir.is_dir():
return openpype_versions
@ -1667,7 +1666,6 @@ class BootstrapRepos:
ValueError: if invalid path is specified.
"""
installed_version = OpenPypeVersion.get_installed_version()
if not openpype_dir.exists() and not openpype_dir.is_dir():
raise ValueError(f"specified directory {openpype_dir} is invalid")