Skip to content

Commit

Permalink
Addon Manager: Fix bug when pip call fails
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes committed Sep 15, 2022
1 parent 36332ff commit ebb3263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/AddonManager/manage_python_dependencies.py
Expand Up @@ -87,10 +87,10 @@ def call_pip(args) -> List[str]:
shell=True,
check=True,
)
if proc.returncode != 0:
pip_failed = True
except subprocess.CalledProcessError:
pip_failed = True
if proc.returncode != 0:
pip_failed = True
else:
pip_failed = True

Expand Down

0 comments on commit ebb3263

Please sign in to comment.