mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
send command as string
This commit is contained in:
parent
e5d0380356
commit
8cab974893
@ -103,7 +103,7 @@ class PluginConfigInstallSerializer(serializers.Serializer):
|
|||||||
# use pypi
|
# use pypi
|
||||||
command.append(packagename)
|
command.append(packagename)
|
||||||
|
|
||||||
ret = {'command': command}
|
ret = {'command': ' '.join(command)}
|
||||||
# execute pypi
|
# execute pypi
|
||||||
try:
|
try:
|
||||||
result = subprocess.check_output(command, cwd=os.path.dirname(settings.BASE_DIR))
|
result = subprocess.check_output(command, cwd=os.path.dirname(settings.BASE_DIR))
|
||||||
|
Loading…
Reference in New Issue
Block a user