diff --git a/ChangeLog b/ChangeLog index 636ac526f..28ca6908f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-01-30 Alex Roitman + * src/plugins/AncestorChart2.py (write_book_item): + Treat unconfigured title. + 2004-01-27 Don Allingham * src/docgen/PdfDoc.py: fix encoding exception * gramps-mdk.spec: Mandrake RPM spec file diff --git a/src/plugins/AncestorChart2.py b/src/plugins/AncestorChart2.py index 758c1b384..3a3b67a4b 100644 --- a/src/plugins/AncestorChart2.py +++ b/src/plugins/AncestorChart2.py @@ -649,7 +649,10 @@ def write_book_item(database,person,doc,options,newpage=0): max_gen = int(options[1]) disp_format = options[2] compress = int(options[3]) - title = options[4] + if options[4] is not None: + title = options[4] + else: + title = "" return AncestorChart(database, person, max_gen, disp_format, doc, None, 1, compress, title, newpage )