* src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN
svn: r4019
This commit is contained in:
parent
2581aa31fb
commit
dd093aacfc
@ -1,3 +1,6 @@
|
|||||||
|
2005-02-02 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
|
* src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN
|
||||||
|
|
||||||
2005-02-02 Eero Tamminen <eerot@sf>
|
2005-02-02 Eero Tamminen <eerot@sf>
|
||||||
* src/plugins/StatisticsChart.py: Better colors for pies
|
* src/plugins/StatisticsChart.py: Better colors for pies
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@ class GraphViz:
|
|||||||
gender = person.get_gender()
|
gender = person.get_gender()
|
||||||
if gender == person.MALE:
|
if gender == person.MALE:
|
||||||
self.f.write('%s=%s, ' % (style, self.colors['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']))
|
self.f.write('%s=%s, ' % (style, self.colors['female']))
|
||||||
else:
|
else:
|
||||||
self.f.write('%s=%s, ' % (style, self.colors['unknown']))
|
self.f.write('%s=%s, ' % (style, self.colors['unknown']))
|
||||||
|
Loading…
Reference in New Issue
Block a user