import_pyarrow status code

This commit is contained in:
Chris 2017-07-17 19:40:32 -05:00
parent 8d051e36e5
commit 31611d85d5

View File

@ -15,7 +15,7 @@ bool import_pyarrow()
if (!imported) if (!imported)
{ {
if (!arrow::py::import_pyarrow()) if (arrow::py::import_pyarrow() != 0)
{ {
if (PyErr_Occurred() != nullptr) if (PyErr_Occurred() != nullptr)
{ {