From 7a8f2a17a28e9e880c0e0ed701b1e2cd11d9b1e0 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 2 Dec 2005 01:30:55 +0000 Subject: [PATCH] * src/plugins/BookReport.py (BookReportDialog.__init__): Initialize page_html_added before instantiating dialog class. svn: r5464 --- gramps2/ChangeLog | 2 ++ gramps2/src/plugins/BookReport.py | 1 + 2 files changed, 3 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 35088189a..acceab7dd 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -5,6 +5,8 @@ * src/ReportUtils.py (child_str): Initialize text. * src/docgen/LaTeXDoc.py: support "____"; support roman numerals in paragraph leaders. + * src/plugins/BookReport.py (BookReportDialog.__init__): + Initialize page_html_added before instantiating dialog class. 2005-12-01 Benny Malengier * src/dates/Date_nl.py: Add to CVS (bmcage). diff --git a/gramps2/src/plugins/BookReport.py b/gramps2/src/plugins/BookReport.py index 0374ec49b..f2110eaec 100644 --- a/gramps2/src/plugins/BookReport.py +++ b/gramps2/src/plugins/BookReport.py @@ -962,6 +962,7 @@ class BookReportDialog(Report.ReportDialog): def __init__(self,database,person,book,options): self.options = options + self.page_html_added = False Report.BareReportDialog.__init__(self,database,person,options, 'book',_("Book Report")) self.book = book