* src/Report.py (parse_report_options_frame): Use integer 1 and 0

instead of True and False for the pagebreak option.


svn: r3256
This commit is contained in:
Alex Roitman
2004-07-09 20:28:30 +00:00
parent b76bc6d42d
commit 8a68101d17
2 changed files with 5 additions and 2 deletions

View File

@@ -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