* src/plugins/WriteFtree.py (FtreeWriter.export): make sure that the
parents are in the id_map array svn: r2509
This commit is contained in:
parent
b2ea447b6b
commit
af26f92abb
@ -203,9 +203,9 @@ class FtreeWriter:
|
|||||||
|
|
||||||
family = p.getMainParents()
|
family = p.getMainParents()
|
||||||
if family:
|
if family:
|
||||||
if family.getFather():
|
if family.getFather() and id_map.has_key(family.getFather().getId()):
|
||||||
father = id_map[family.getFather().getId()]
|
father = id_map[family.getFather().getId()]
|
||||||
if family.getMother():
|
if family.getMother() and id_map.has_key(family.getMother().getId()):
|
||||||
mother = id_map[family.getMother().getId()]
|
mother = id_map[family.getMother().getId()]
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user