From 21798efb5d323c4c05d50add967029f65edc9e4e Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 26 Jun 2003 22:28:31 +0000 Subject: [PATCH] 2003-06-26 Tim Waugh * src/plugins/WebPage.py: Fix gendex creation. svn: r1789 --- gramps2/ChangeLog | 1 + gramps2/src/plugins/WebPage.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index a5e3caf38..2753cfd3f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2003-06-26 Tim Waugh + * src/plugins/WebPage.py: Fix gendex creation. * src/ImgManip.py: Seems to need the SIGCHLD handler resetting here to prevent EINTR causing traceback. * src/plugins/Ancestors.py: Cite sources. diff --git a/gramps2/src/plugins/WebPage.py b/gramps2/src/plugins/WebPage.py index 8ab85fb58..1276bb84d 100644 --- a/gramps2/src/plugins/WebPage.py +++ b/gramps2/src/plugins/WebPage.py @@ -658,11 +658,11 @@ class WebReport(Report.Report): except IndexError: print "Month index error - %d" % mon retval = str(year) - if mode == Date.SingleDate.about: + if mode == Date.Calendar.ABOUT: retval = "ABT %s" % retval - elif mode == Date.SingleDate.before: + elif mode == Date.Calendar.BEFORE: retval = "BEF %s" % retval - elif mode == Date.SingleDate.after: + elif mode == Date.Calendar.AFTER: retval = "AFT %s" % retval return retval