+ minor fix

This commit is contained in:
wmayer 2014-11-19 22:56:29 +01:00
parent be7f583aa0
commit 6bdf0b4b76

View File

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