From 9a8af2289aea1a6459ec351f7e0fc403e74858ab Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Fri, 1 May 2015 10:30:11 +0200 Subject: [PATCH] narrativeweb : bug 8528 : local variable 'body' referenced before assignment --- src/plugins/webreport/NarrativeWeb.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 5804b1995..35984b3b3 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -5064,14 +5064,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):