From: ghost Date: Fri, 31 Oct 2008 13:03:55 +0000 (+0100) Subject: dont add cmd to arglist X-Git-Tag: 2.6.0~350^2~56 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/55acebf9599ad782cc305c13d18a14af66e65c20 dont add cmd to arglist --- diff --git a/lib/base/console.cpp b/lib/base/console.cpp index 25318cc9..5ca77d12 100644 --- a/lib/base/console.cpp +++ b/lib/base/console.cpp @@ -497,7 +497,7 @@ eConsolePy_execute(eConsolePy* self, PyObject *argt) argv[argpos++] = PyString_AsString(arg); } argv[argpos] = 0; - return PyInt_FromLong(self->cont->execute(argv[0], argv)); + return PyInt_FromLong(self->cont->execute(argv[0], argv+1)); } else {