aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-03-11 09:24:51 +0100
committerghost <andreas.monzner@multimedia-labs.de>2011-03-11 09:24:51 +0100
commited2e2fedc646e73d5f4348458901bb46b717a497 (patch)
tree04d6088162262ba501f9e7bc54595075f1cc612f /lib
parent7b18f1a98a22bf92567d26770b444bf911e4f55b (diff)
downloadenigma2-ed2e2fedc646e73d5f4348458901bb46b717a497.tar.gz
enigma2-ed2e2fedc646e73d5f4348458901bb46b717a497.zip
base/console.cpp: fix typo
Diffstat (limited to 'lib')
-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 43f9f61e..00187683 100644
--- a/lib/base/console.cpp
+++ b/lib/base/console.cpp
@@ -519,7 +519,7 @@ eConsolePy_write(eConsolePy* self, PyObject *args)
int ret = -1;
Py_ssize_t argc = PyTuple_Size(args);
if (argc > 1)
- ret = PyArg_ParseTuple(args, "si", &data, &len);
+ ret = !PyArg_ParseTuple(args, "si", &data, &len);
else if (argc == 1)
{
PyObject *ob;