narrativeweb : bug 8528 : local variable 'body' referenced before assignment

This commit is contained in:
SNoiraud 2015-05-01 10:33:43 +02:00 committed by Ross Gammon
parent 42df438ea0
commit aee8c07c83

View File

@ -5073,14 +5073,14 @@ class DownloadPage(BasePage):
else:
tcell += " "
# clear line for proper styling
# create footer section
footer = self.write_footer()
body += (fullclear, footer)
# clear line for proper styling
# create footer section
footer = self.write_footer()
body += (fullclear, footer)
# send page out for processing
# and close the file
self.XHTMLWriter(downloadpage, of, sio)
# send page out for processing
# and close the file
self.XHTMLWriter(downloadpage, of, sio)
class ContactPage(BasePage):
def __init__(self, report, title):