9899: polish; gen.lib.person arlready called, make test on gender more clear
This commit is contained in:
parent
0633930667
commit
fe763b7490
@ -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 == 0:
|
||||
if father.gender == Person.FEMALE:
|
||||
rel_father = rel_mother
|
||||
if mother.gender == 1:
|
||||
if mother.gender == Person.MALE:
|
||||
rel_mother = _('Father')
|
||||
else:
|
||||
rc = RelationshipCalculator()
|
||||
|
Loading…
Reference in New Issue
Block a user