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

bug report and fix the day of the release...
This commit is contained in:
Serge Noiraud 2015-05-02 10:34:07 +02:00 committed by Jérôme Rapinat
parent ee624ff942
commit 8821546a17

View File

@ -5052,14 +5052,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):