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']))