diff --git a/src/Relationship.py b/src/Relationship.py index 378a36574..0b997396b 100644 --- a/src/Relationship.py +++ b/src/Relationship.py @@ -301,7 +301,7 @@ class RelationshipCalculator: if orig_person == None: return ("undefined",[]) - if orig_person == other_person: + if orig_person.get_handle() == other_person.get_handle(): return ('', []) if self.is_spouse(orig_person,other_person):