Johan Gonqvist <johan.gronqvist@gmail.com>

Narrative web-site plugin chrashes due to handling of notes. (#0001085)

svn: r8737
This commit is contained in:
Brian Matherly 2007-07-18 12:17:08 +00:00
parent 74d6f3febd
commit 97800df7e3
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-07-18 Johan Gonqvist <johan.gronqvist@gmail.com>
* src/plugins/NarrativeWeb.py:
Narrative web-site plugin chrashes due to handling of notes. (#0001085)
2007-07-18 Brian Matherly <brian@gramps-project.org>
Robert Cawley <rjc@cawley.id.au>
* src/plugins/DetDescendantReport.py:

View File

@ -1975,8 +1975,7 @@ class IndividualPage(BasePage):
of.write('<td class="data">%s</td>\n</tr>\n' % attr.get_value())
notelist = family.get_note_list()
for notehandle in notelist:
nobj = self.db.get_note_from_handle()
nobj = family.get_note_object()
nobj = self.db.get_note_from_handle(notehandle)
if nobj:
text = nobj.get(markup=True)
format = nobj.get_format()