From 79b86391355c5c9898df40ad11080a36c4c2a7db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 29 Sep 2015 16:38:26 +0200 Subject: [PATCH] Fix: Use adjusted pip arguments in execute method --- src/octoprint/util/pip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/pip.py b/src/octoprint/util/pip.py index 8d0a008f..c43b61e2 100644 --- a/src/octoprint/util/pip.py +++ b/src/octoprint/util/pip.py @@ -98,7 +98,7 @@ class PipCaller(CommandlineCaller): self._logger.debug("Version {} needs --no-use-wheel to properly work.".format(self.version)) arg_list.append("--no-use-wheel") - command = [self._command] + list(args) + command = [self._command] + list(arg_list) if self._use_sudo: command = ["sudo"] + command return self.call(command)