Add forgotten PyDict_Check

This commit is contained in:
AnyOldName3
2018-09-19 22:36:11 +01:00
parent 84c04c32dc
commit 60701b6ba0
+1 -1
View File
@@ -251,7 +251,7 @@ struct QVariant_from_python_obj
static void *convertible(PyObject *objPtr) {
if (!SIPBytes_Check(objPtr) && !PyUnicode_Check(objPtr) && !PyLong_Check(objPtr) &&
!PyBool_Check(objPtr) && !PyList_Check(objPtr)) {
!PyBool_Check(objPtr) && !PyList_Check(objPtr) && !PyDict_Check(objPtr)) {
return nullptr;
}
return objPtr;