From 8821546a17e61804d4e3b022397d0e7954b30a20 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Sat, 2 May 2015 10:34:07 +0200 Subject: [PATCH] narrativeweb : bug 8528 : local variable 'body' referenced before assignment bug report and fix the day of the release... --- gramps/plugins/webreport/narrativeweb.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 75856722475..570c7a2af6c 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -5052,14 +5052,14 @@ def __init__(self, report, title): else: tcell += " " - # 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) + # 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) class ContactPage(BasePage): def __init__(self, report, title):