missed last commit

This commit is contained in:
Campbell Barton 2015-01-27 03:41:05 +11:00
parent b94efe0e8b
commit 59e2f919ac

@ -718,7 +718,6 @@ static int Image_getbuffer(PyImage *self, Py_buffer *view, int flags)
image = self->m_image->getImage();
}
catch (Exception & exp) {
// cannot return -1, this creates a crash in Python, for now we will just return an empty buffer
exp.report();
return -1;
}