diff --git a/src/GrampsZODB.py b/src/GrampsZODB.py index 60db3ac9e..3a8a29828 100644 --- a/src/GrampsZODB.py +++ b/src/GrampsZODB.py @@ -110,7 +110,7 @@ class PersonMap(Persistent, UserDict): def __setitem__(self, key, value): if not isinstance(value, PersonWrapper): # Create the PersonWrapper. - assert isinstance(value, Person) + assert isinstance(value, RelLib.Person) value = PersonWrapper(value, self) self.data[key] = value