mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Merge pull request #190 from chris-b1/tryout
import_pyarrow returns error code, not bool
This commit is contained in:
commit
ded81eab4a
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user