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
|
||||
command.append(packagename)
|
||||
|
||||
ret = {'command': command}
|
||||
ret = {'command': ' '.join(command)}
|
||||
# execute pypi
|
||||
try:
|
||||
result = subprocess.check_output(command, cwd=os.path.dirname(settings.BASE_DIR))
|
||||
|
Loading…
Reference in New Issue
Block a user