From 6881becfa9cedb80538caa2065fd2d5961f096a6 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 13 Nov 2003 19:28:58 +0000 Subject: [PATCH] * src/GrampsCfg.py: Fixed name format selection problem svn: r2332 --- src/GrampsCfg.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GrampsCfg.py b/src/GrampsCfg.py index 600bac76e..c792fd2bf 100644 --- a/src/GrampsCfg.py +++ b/src/GrampsCfg.py @@ -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"))