hound fixes

This commit is contained in:
Ondrej Samohel 2021-03-02 21:39:09 +01:00
parent 9d8cf26087
commit 30537adba6
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
2 changed files with 4 additions and 2 deletions

View file

@ -891,7 +891,8 @@ class BootstrapRepos:
# copy file to destination
self._print("Copying zip to destination ...")
copyfile(
pype_version.path.as_posix(), destination.parent.as_posix())
pype_version.path.as_posix(),
destination.parent.as_posix())
except OSError as e:
self._print(
"cannot copy version to user data directory", LOG_ERROR,

View file

@ -73,7 +73,8 @@ class InstallThread(QThread):
detected = bs.find_pype(include_zips=True)
if detected:
if PypeVersion(version=local_version, path=Path()) < detected[-1]:
if PypeVersion(
version=local_version, path=Path()) < detected[-1]:
self.message.emit((
f"Latest installed version {detected[-1]} is newer "
f"then currently running {local_version}"