* src/plugins/AncestorChart2.py (write_book_item):

Treat unconfigured title.


svn: r2726
This commit is contained in:
Alex Roitman 2004-01-30 13:51:02 +00:00
parent 18564fa2ac
commit f0d27c35d3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-01-30 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/AncestorChart2.py (write_book_item):
Treat unconfigured title.
2004-01-27 Don Allingham <dallingham@users.sourceforge.net> 2004-01-27 Don Allingham <dallingham@users.sourceforge.net>
* src/docgen/PdfDoc.py: fix encoding exception * src/docgen/PdfDoc.py: fix encoding exception
* gramps-mdk.spec: Mandrake RPM spec file * gramps-mdk.spec: Mandrake RPM spec file

View File

@ -649,7 +649,10 @@ def write_book_item(database,person,doc,options,newpage=0):
max_gen = int(options[1]) max_gen = int(options[1])
disp_format = options[2] disp_format = options[2]
compress = int(options[3]) compress = int(options[3])
if options[4] is not None:
title = options[4] title = options[4]
else:
title = ""
return AncestorChart(database, person, max_gen, return AncestorChart(database, person, max_gen,
disp_format, doc, None, disp_format, doc, None,
1, compress, title, newpage ) 1, compress, title, newpage )