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