silly python headers
This commit is contained in:
parent
1b6bb92da5
commit
6794656499
|
|
@ -1294,7 +1294,7 @@ xml_to_pyobj(TiXmlElement *xvalue) {
|
|||
if (key != NULL) {
|
||||
PyObject *item = xml_to_pyobj(xitem);
|
||||
if (item != NULL) {
|
||||
PyObject_SetAttrString(obj, key, item);
|
||||
PyObject_SetAttrString(obj, (char *)key, item);
|
||||
Py_DECREF(item);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue