diff --git a/openpype/hosts/blender/hooks/pre_pyside_install.py b/openpype/hosts/blender/hooks/pre_pyside_install.py index 9e1046453b..d0f2b3d417 100644 --- a/openpype/hosts/blender/hooks/pre_pyside_install.py +++ b/openpype/hosts/blender/hooks/pre_pyside_install.py @@ -190,9 +190,12 @@ class InstallPySideToBlender(PreLaunchHook): process.communicate() return process.returncode == 0 except PermissionError: - self.log.warning("Permission denied with command: \"{}\".".format(" ".join(args))) + self.log.warning( + "Permission denied with command:" + "\"{}\".".format(" ".join(args)) + ) except OSError as error: - self.log.warning("OS error has occurred with command: \"{error}\".") + self.log.warning(f"OS error has occurred: \"{error}\".") except subprocess.SubprocessError: pass