From 9e3318dc170c3efaec1d46e8f583a4422d3d2019 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 --- ChangeLog | 3 +++ src/plugins/GraphViz.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6370db078..5e4b532f2 100644 --- a/ChangeLog +++ b/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/src/plugins/GraphViz.py b/src/plugins/GraphViz.py index 24eaa5229..d771a3639 100644 --- a/src/plugins/GraphViz.py +++ b/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']))