Merge pull request #190 from chris-b1/tryout

import_pyarrow returns error code, not bool
This commit is contained in:
Thomas Fussell 2017-07-18 13:07:23 -07:00 committed by GitHub
commit ded81eab4a

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)
{ {