diff --git a/gramps2/src/plugins/Verify.py b/gramps2/src/plugins/Verify.py index ead00a4fa..c90b7b8e9 100644 --- a/gramps2/src/plugins/Verify.py +++ b/gramps2/src/plugins/Verify.py @@ -812,7 +812,7 @@ class UnknownGender(PersonRule): def broken(self): female = self.obj.get_gender() == RelLib.Person.FEMALE male = self.obj.get_gender() == RelLib.Person.MALE - return (male or female) + return not (male or female) def get_message(self): return _("Unknown gender")