From dd093aacfc001b8bc907c0df5b0dc5ec41e1e057 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 3 Feb 2005 00:32:20 +0000 Subject: [PATCH] * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN svn: r4019 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/GraphViz.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 6370db078..5e4b532f2 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-02-02 Don Allingham + * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN + 2005-02-02 Eero Tamminen * src/plugins/StatisticsChart.py: Better colors for pies diff --git a/gramps2/src/plugins/GraphViz.py b/gramps2/src/plugins/GraphViz.py index 24eaa5229..d771a3639 100644 --- a/gramps2/src/plugins/GraphViz.py +++ b/gramps2/src/plugins/GraphViz.py @@ -309,7 +309,7 @@ class GraphViz: gender = person.get_gender() if gender == person.MALE: self.f.write('%s=%s, ' % (style, self.colors['male'])) - elif gender == person.female: + elif gender == person.FEMALE: self.f.write('%s=%s, ' % (style, self.colors['female'])) else: self.f.write('%s=%s, ' % (style, self.colors['unknown']))