more config isolation. Still crashing

This commit is contained in:
Jean-Francois Dockes
2012-11-30 16:45:02 +01:00
parent 3a33a68e2d
commit 4afde68f9e
8 changed files with 66 additions and 67 deletions
+1 -1
View File
@@ -1149,7 +1149,7 @@ Db_addOrUpdate(recoll_DbObject* self, PyObject *args, PyObject *)
PyErr_SetString(PyExc_AttributeError, "doc");
return 0;
}
if (!self->db->addOrUpdate(rclconfig, udi, parent_udi, *pydoc->doc)) {
if (!self->db->addOrUpdate(udi, parent_udi, *pydoc->doc)) {
LOGERR(("Db_addOrUpdate: rcldb error\n"));
PyErr_SetString(PyExc_AttributeError, "rcldb error");
return 0;