From 09d16526e908c45e5908116d5d0aa9e732fc3902 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Wed, 21 Aug 2013 18:54:05 +0000 Subject: [PATCH] 6957: support gender in vcard import forgotten merge cleanup svn: r22900 --- gramps/plugins/importer/importvcard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/importer/importvcard.py b/gramps/plugins/importer/importvcard.py index 74daa3084..eb4bef452 100644 --- a/gramps/plugins/importer/importvcard.py +++ b/gramps/plugins/importer/importvcard.py @@ -521,9 +521,9 @@ class VCardParser(object): gender_value = gender_value.upper() gender_value = gender_value[0] if gender_value == 'M': - gender = gen.lib.Person.MALE + gender = Person.MALE elif gender_value == 'F': - gender = gen.lib.Person.FEMALE + gender = Person.FEMALE else: return self.person.set_gender(gender)