Fix incorrect conditional

This commit is contained in:
Sandro Mani 2016-01-04 13:44:24 +01:00
parent 48c965c3f6
commit 255a8b5220

View File

@ -54,7 +54,7 @@ PyImaging_EncoderNew(int contextsize)
ImagingEncoderObject *encoder;
void *context;
if(!PyType_Ready(&ImagingEncoderType) < 0)
if(PyType_Ready(&ImagingEncoderType) < 0)
return NULL;
encoder = PyObject_New(ImagingEncoderObject, &ImagingEncoderType);