From 8a68101d17a3fbe809d40444f8657e4ddc9d1e08 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 9 Jul 2004 20:28:30 +0000 Subject: [PATCH] * src/Report.py (parse_report_options_frame): Use integer 1 and 0 instead of True and False for the pagebreak option. svn: r3256 --- gramps2/ChangeLog | 3 +++ gramps2/src/Report.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index a29bd521c..3498c0653 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -8,6 +8,9 @@ * src/Makefile.am: Ship Exporter.py. * src/Plugins.py (register_export): Change to the new scheme. + * src/Report.py (parse_report_options_frame): Use integer 1 and 0 + instead of True and False for the pagebreak option. + 2004-07-08 Don Allingham * src/ChooseParents.py: build an exclusion list of those obviously not the parents diff --git a/gramps2/src/Report.py b/gramps2/src/Report.py index c3ae650f0..07221e4da 100644 --- a/gramps2/src/Report.py +++ b/gramps2/src/Report.py @@ -675,8 +675,8 @@ class BareReportDialog: else: self.max_gen = 0 - if self.pagebreak_checkbox: - self.pg_brk = self.pagebreak_checkbox.get_active() + if self.pagebreak_checkbox and self.pagebreak_checkbox.get_active(): + self.pg_brk = 1 else: self.pg_brk = 0