GrampsType support for FamilyRelations, Events

svn: r6371
This commit is contained in:
Don Allingham
2006-04-19 22:59:33 +00:00
parent ea3f1d727a
commit 86caffe6bd
28 changed files with 359 additions and 427 deletions

View File

@@ -1649,7 +1649,7 @@ class IsWitness(Rule):
wlist = event.get_witness_list()
if wlist:
for w in wlist:
if w.get_type()[0] == RelLib.Event.ID:
if int(w.get_type()) == RelLib.Event.ID:
self.map.append(w.get_value())