From 8cab9748931b29dc79163e721fd74cb4b2ddeaf2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 18 Nov 2021 16:38:31 +0100 Subject: [PATCH] send command as string --- InvenTree/plugin/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/serializers.py b/InvenTree/plugin/serializers.py index 87b0bd7ae8..6e19eb2559 100644 --- a/InvenTree/plugin/serializers.py +++ b/InvenTree/plugin/serializers.py @@ -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))