From 44f970baa8dc0f3e5733b6e2be69d12e717b04a7 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Wed, 9 Jun 2010 20:30:20 +0000 Subject: [PATCH] Fix of issue 4058, list index out of range. svn: r15548 --- src/plugins/webreport/NarrativeWeb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index aed607be0..bd40e5621 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -865,7 +865,7 @@ class BasePage(object): text = '© %(year)d %(person)s' % { 'person' : self.author, 'year' : year} - elif 0 < copyright <= len(_CC): + elif 0 < copyright < len(_CC): # Note. This is a URL fname = "/".join(["images", "somerights20.gif"]) url = self.report.build_url_fname(fname, None, up = False) @@ -5374,7 +5374,7 @@ class NavWebReport(Report): # Copy the Creative Commons icon if the Creative Commons # license is requested??? - if 0 < self.copyright <= len(_CC): + if 0 < self.copyright < len(_CC): imgs += ["somerights20.gif"] # include GRAMPS favicon