* src/GrampsCfg.py: Fixed name format selection problem

svn: r2332
This commit is contained in:
Don Allingham 2003-11-13 19:28:58 +00:00
parent 6d7f263d52
commit 6881becfa9

View File

@ -317,12 +317,12 @@ def loadConfig(call):
nameof = _name_format_list[_name_format][1]
if _name_format%2:
display_name = Utils.phonebook_name
display_surname = lambda x : x.getSurname()
else:
if _name_format > 1:
display_name = Utils.phonebook_upper_name
display_surname = lambda x : x.getUpperSurname()
else:
display_name = Utils.phonebook_name
display_surname = lambda x : x.getSurname()
make_path(os.path.expanduser("~/.gramps"))
make_path(os.path.expanduser("~/.gramps/filters"))