From 31611d85d52619c02f2110865c33db732b39b53b Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 17 Jul 2017 19:40:32 -0500 Subject: [PATCH] import_pyarrow status code --- xlntpyarrow/xlntpyarrow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlntpyarrow/xlntpyarrow.cpp b/xlntpyarrow/xlntpyarrow.cpp index 1d850b09..41574f46 100644 --- a/xlntpyarrow/xlntpyarrow.cpp +++ b/xlntpyarrow/xlntpyarrow.cpp @@ -15,7 +15,7 @@ bool import_pyarrow() if (!imported) { - if (!arrow::py::import_pyarrow()) + if (arrow::py::import_pyarrow() != 0) { if (PyErr_Occurred() != nullptr) {