diff --git a/encode.c b/encode.c index 2eb9ceb09..84e5b96b1 100644 --- a/encode.c +++ b/encode.c @@ -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);