Handle unknown gender
svn: r1237
This commit is contained in:
parent
4966e07594
commit
9464131a0d
@ -262,8 +262,10 @@ class IndividualPage:
|
||||
|
||||
if self.person.getGender() == Person.male:
|
||||
self.write_normal_row("%s:" % _("Gender"), _("Male"),None)
|
||||
else:
|
||||
elif self.person.getGender() == Person.female:
|
||||
self.write_normal_row("%s:" % _("Gender"), _("Female"),None)
|
||||
else:
|
||||
self.write_normal_row("%s:" % _("Gender"), _("Unknown"), None)
|
||||
|
||||
family = self.person.getMainParents()
|
||||
if family:
|
||||
|
Loading…
Reference in New Issue
Block a user