+ minor fix
This commit is contained in:
parent
be7f583aa0
commit
6bdf0b4b76
|
@ -142,6 +142,7 @@ bool PythonWrapper::toCString(const Py::Object& pyobject, std::string& str)
|
|||
}
|
||||
else if (PyString_Check(pyobject.ptr())) {
|
||||
str = PyString_AsString(pyobject.ptr());
|
||||
return true;
|
||||
}
|
||||
#if defined (HAVE_SHIBOKEN) && defined(HAVE_PYSIDE)
|
||||
if (Shiboken::String::check(pyobject.ptr())) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user