mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-25 00:00:34 +03:00
Fix incorrect conditional
This commit is contained in:
parent
48c965c3f6
commit
255a8b5220
2
encode.c
2
encode.c
|
@ -54,7 +54,7 @@ PyImaging_EncoderNew(int contextsize)
|
||||||
ImagingEncoderObject *encoder;
|
ImagingEncoderObject *encoder;
|
||||||
void *context;
|
void *context;
|
||||||
|
|
||||||
if(!PyType_Ready(&ImagingEncoderType) < 0)
|
if(PyType_Ready(&ImagingEncoderType) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
encoder = PyObject_New(ImagingEncoderObject, &ImagingEncoderType);
|
encoder = PyObject_New(ImagingEncoderObject, &ImagingEncoderType);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user