Gedcom compliance. Bug #2558: Further fix for when a media note is not present.
svn: r11485
This commit is contained in:
parent
679392ab4b
commit
d7f2a858be
@ -4310,6 +4310,7 @@ class GedcomParser(UpdateCallback):
|
||||
photo = self.dbase.get_object_from_handle(photo_handle)
|
||||
oref = gen.lib.MediaRef()
|
||||
oref.set_reference_handle(photo.handle)
|
||||
if note:
|
||||
oref.add_note(self.__find_note_handle(self.nid_map[note]))
|
||||
obj.add_media_reference(oref)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user