Fixed importing of family photos

svn: r208
This commit is contained in:
Don Allingham 2001-06-30 23:02:25 +00:00
parent d1753d3f8b
commit 18c5d5d82f

View File

@ -346,7 +346,7 @@ class GrampsParser(handler.ContentHandler):
photo.setPrivate(0)
if self.family:
self.family.addPhoto(photo)
if self.source:
elif self.source:
self.source.addPhoto(photo)
else:
self.person.addPhoto(photo)