From da079b71c4d78f496dd7913a001068957746f750 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 31 Oct 2008 14:03:55 +0100 Subject: [PATCH] dont add cmd to arglist --- lib/base/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2