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