fix usage of not existing method 'get_local_live_version'

This commit is contained in:
iLLiCiTiT 2022-01-17 18:34:49 +01:00
parent 92b65b16b1
commit e512965a3e
2 changed files with 3 additions and 3 deletions

View file

@ -912,7 +912,6 @@ class BootstrapRepos:
processed_path = file processed_path = file
self._print(f"- processing {processed_path}") self._print(f"- processing {processed_path}")
checksums.append( checksums.append(
( (
sha256sum(file.as_posix()), sha256sum(file.as_posix()),
@ -1544,7 +1543,8 @@ class BootstrapRepos:
Args: Args:
zip_item (Path): Zip file to test. zip_item (Path): Zip file to test.
detected_version (OpenPypeVersion): Pype version detected from name. detected_version (OpenPypeVersion): Pype version detected from
name.
Returns: Returns:
True if it is valid OpenPype version, False otherwise. True if it is valid OpenPype version, False otherwise.

View file

@ -60,7 +60,7 @@ class InstallThread(QThread):
# find local version of OpenPype # find local version of OpenPype
bs = BootstrapRepos( bs = BootstrapRepos(
progress_callback=self.set_progress, message=self.message) progress_callback=self.set_progress, message=self.message)
local_version = bs.get_local_live_version() local_version = OpenPypeVersion.get_installed_version_str()
# if user did entered nothing, we install OpenPype from local version. # if user did entered nothing, we install OpenPype from local version.
# zip content of `repos`, copy it to user data dir and append # zip content of `repos`, copy it to user data dir and append