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: else:
tcell += " " tcell += " "
# clear line for proper styling # clear line for proper styling
# create footer section # create footer section
footer = self.write_footer() footer = self.write_footer()
body += (fullclear, footer) body += (fullclear, footer)
# send page out for processing # send page out for processing
# and close the file # and close the file
self.XHTMLWriter(downloadpage, of, sio) self.XHTMLWriter(downloadpage, of, sio)
class ContactPage(BasePage): class ContactPage(BasePage):
def __init__(self, report, title): def __init__(self, report, title):