From 30537adba6712bddb139594c7370db56fa924432 Mon Sep 17 00:00:00 2001 From: Ondrej Samohel Date: Tue, 2 Mar 2021 21:39:09 +0100 Subject: [PATCH] hound fixes --- igniter/bootstrap_repos.py | 3 ++- igniter/install_thread.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/igniter/bootstrap_repos.py b/igniter/bootstrap_repos.py index bf121ba97c..da796b3e74 100644 --- a/igniter/bootstrap_repos.py +++ b/igniter/bootstrap_repos.py @@ -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, diff --git a/igniter/install_thread.py b/igniter/install_thread.py index 945049d1d7..29adc36ddc 100644 --- a/igniter/install_thread.py +++ b/igniter/install_thread.py @@ -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}"