* 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 4f01f4111b
commit 25aaeb6210

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"))