Addon Manager: Fix bug when pip call fails
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user