From e067a86c4d432f43f62eb4c003d523f7f0567e19 Mon Sep 17 00:00:00 2001 From: Kenny Ostrom Date: Sat, 30 Aug 2014 13:07:26 -0500 Subject: [PATCH] fixed typo in pyargs --- decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode.c b/decode.c index 15af88531..e9aa6a387 100644 --- a/decode.c +++ b/decode.c @@ -444,7 +444,7 @@ PyImaging_LibTiffDecoderNew(PyObject* self, PyObject* args) int fp; int ifdoffset; - if (! PyArg_ParseTuple(args, "sssi ", &mode, &rawmode, &compname, &fp, &ifdoffset)) + if (! PyArg_ParseTuple(args, "sssii", &mode, &rawmode, &compname, &fp, &ifdoffset)) return NULL; TRACE(("new tiff decoder %s\n", compname));