Fix escape error in BookReport.py.

svn: r8427
This commit is contained in:
Brian Matherly 2007-04-28 03:36:54 +00:00
parent a80294ab94
commit d7d39311c7
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-04-27 Brian Matherly <brian@gramps-project.org>
* src/plugins/BookReport.py: Fix escape error.
2007-04-27 Brian Matherly <brian@gramps-project.org>
* src/DbLoader.py: Fix exception message.

View File

@ -388,7 +388,7 @@ class BookList:
else:
option_type = Utils.type_name(option_value)
f.write(' <option name="%s" type="%s" value="%s"/>\n' % (
escxml(option_name), escxml(option_type), escxml(option_value)) )
escxml(option_name), escxml(option_type), escxml(str(option_value))) )
f.write(' <person gramps_id="%s"/>\n' %
escxml(option_handler.get_person_id()) )
f.write(' <style name="%s"/>\n' % escxml(item.get_style_name()) )