From 8841d13a7e4c411c2b1d5cbf567226c5399a677d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syst=C3=A8me?= Date: Sat, 14 Jan 2017 10:22:01 +0100 Subject: [PATCH] Revert "9899: polish; gen.lib.person arlready called, make test on gender more clear" This reverts commit fe763b7490c69a331f3931a488294549c3ee29e3. --- gramps/gui/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gui/utils.py b/gramps/gui/utils.py index 929756c0f..db95a02b1 100644 --- a/gramps/gui/utils.py +++ b/gramps/gui/utils.py @@ -700,9 +700,9 @@ def parents_labels(db, family): if len(family.get_child_ref_list()) > 0: rel_father = _('Father') rel_mother = _('Mother') - if father.gender == Person.FEMALE: + if father.gender == 0: rel_father = rel_mother - if mother.gender == Person.MALE: + if mother.gender == 1: rel_mother = _('Father') else: rc = RelationshipCalculator()