Fix of issue 4058, list index out of range.
svn: r15548
This commit is contained in:
parent
dceb900362
commit
44f970baa8
@ -865,7 +865,7 @@ class BasePage(object):
|
|||||||
text = '© %(year)d %(person)s' % {
|
text = '© %(year)d %(person)s' % {
|
||||||
'person' : self.author,
|
'person' : self.author,
|
||||||
'year' : year}
|
'year' : year}
|
||||||
elif 0 < copyright <= len(_CC):
|
elif 0 < copyright < len(_CC):
|
||||||
# Note. This is a URL
|
# Note. This is a URL
|
||||||
fname = "/".join(["images", "somerights20.gif"])
|
fname = "/".join(["images", "somerights20.gif"])
|
||||||
url = self.report.build_url_fname(fname, None, up = False)
|
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
|
# Copy the Creative Commons icon if the Creative Commons
|
||||||
# license is requested???
|
# license is requested???
|
||||||
if 0 < self.copyright <= len(_CC):
|
if 0 < self.copyright < len(_CC):
|
||||||
imgs += ["somerights20.gif"]
|
imgs += ["somerights20.gif"]
|
||||||
|
|
||||||
# include GRAMPS favicon
|
# include GRAMPS favicon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user