aboutsummaryrefslogtreecommitdiff
path: root/lib/base/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base/console.cpp')
-rw-r--r--lib/base/console.cpp2
1 files changed, 1 insertions, 1 deletions
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
{