Fix typo in narrative web report that causes crash.

svn: r11095
This commit is contained in:
Brian Matherly 2008-09-29 03:32:51 +00:00
parent a1a744ef8a
commit b0f5322346

View File

@ -301,7 +301,8 @@ class BasePage:
of.write('%s' % cright) of.write('%s' % cright)
elif 0 < copy_nr < 7: elif 0 < copy_nr < 7:
text = _CC[copy_nr] text = _CC[copy_nr]
fname = self.build_url_fname("somerights20.gif", 'images', self.up) fname = self.report.build_url_fname("somerights20.gif",
'images', self.up)
text = text % {'gif_fname' : fname} text = text % {'gif_fname' : fname}
of.write(text) of.write(text)
of.write('</p>\n') of.write('</p>\n')