app_deploy: escape pip requirements installed via command line
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
348b7f521f
commit
c609060352
|
@ -320,7 +320,8 @@ class AppDeploy(BaseDeploy):
|
||||||
return
|
return
|
||||||
args = f"-r {requirements}"
|
args = f"-r {requirements}"
|
||||||
else:
|
else:
|
||||||
args = " ".join(requirements)
|
reqs = [req.replace("\"", "'") for req in requirements]
|
||||||
|
args = " ".join([f"\"{req}\"" for req in reqs])
|
||||||
self.notify_status("Updating python packages...")
|
self.notify_status("Updating python packages...")
|
||||||
try:
|
try:
|
||||||
await self.cmd_helper.run_cmd(
|
await self.cmd_helper.run_cmd(
|
||||||
|
|
Loading…
Reference in New Issue