Addon Manager: Fix bug when pip call fails

This commit is contained in:
Chris Hennes
2022-09-15 16:39:13 -05:00
parent 36332ff9a3
commit ebb32633d8

View File

@@ -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