* src/plugins/RelGraph.py (_get_event_label): Typo.

svn: r3173
This commit is contained in:
Alex Roitman 2004-05-16 23:40:00 +00:00
parent 00af3e0917
commit 2882f9b479
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
2004-05-16 Alex Roitman <shura@alex.neuro.umn.edu> 2004-05-16 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/RelGraph.py: Menu for family options. * src/plugins/RelGraph.py: Menu for family options.
* src/plugins/RelGraph.py (_get_event_label): Typo.
2004-05-15 Alex Roitman <shura@alex.neuro.umn.edu> 2004-05-15 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/RelGraph.py (_write_graph_record): Bug fixes. * src/plugins/RelGraph.py (_write_graph_record): Bug fixes.

View File

@ -718,7 +718,7 @@ def _get_event_label (self, event_id):
date_obj = event.get_date_object() date_obj = event.get_date_object()
if date_obj.get_year_valid(): if date_obj.get_year_valid():
if self.JustYear: if self.JustYear:
return "%i" % date_obj.get_year_valid() return "%i" % date_obj.get_year()
else: else:
return date_obj.get_date() return date_obj.get_date()
elif self.PlaceCause: elif self.PlaceCause: