hackathon-dev #1
|
@ -44,7 +44,7 @@ static int bitmap_init(BitmapObject *self, PyObject *args, PyObject *kwds)
|
|||
const char *stock;
|
||||
int width = 0, height = 0;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "$sii", kwlist, &stock, &width, &height))
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|$sii", kwlist, &stock, &width, &height))
|
||||
return -1;
|
||||
|
||||
if (stock)
|
||||
|
|
Loading…
Reference in New Issue
Block a user