From aee8c07c83fe1955da4b414278bfab02e18b83ba Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Fri, 1 May 2015 10:33:43 +0200 Subject: [PATCH] narrativeweb : bug 8528 : local variable 'body' referenced before assignment --- gramps/plugins/webreport/narrativeweb.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 0703baed8..17435db37 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -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):