Fixed error message for setImage

Former-commit-id: db0c38d865463048c6bb039c173e02ea685ae36e
This commit is contained in:
T. van der Zwan 2014-08-19 10:54:15 +02:00
parent 7a51c3e4ac
commit 089120fe9d
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ PyObject* Effect::wrapSetImage(PyObject *self, PyObject *args)
}
else
{
PyErr_SetString(PyExc_RuntimeError, "Length of bytearray argument should be 3*ledCount");
PyErr_SetString(PyExc_RuntimeError, "Length of bytearray argument should be 3*width*height");
return nullptr;
}
}