Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit db0c38d

Browse files
committed
Fixed error message for setImage
1 parent 6ce0b12 commit db0c38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsrc/effectengine/Effect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ PyObject* Effect::wrapSetImage(PyObject *self, PyObject *args)
270270
}
271271
else
272272
{
273-
PyErr_SetString(PyExc_RuntimeError, "Length of bytearray argument should be 3*ledCount");
273+
PyErr_SetString(PyExc_RuntimeError, "Length of bytearray argument should be 3*width*height");
274274
return nullptr;
275275
}
276276
}

0 commit comments

Comments
 (0)