type changes

svn: r6375
This commit is contained in:
Don Allingham
2006-04-20 03:34:07 +00:00
parent 62f02f43b2
commit a71ac389b2
8 changed files with 15 additions and 14 deletions

View File

@@ -118,7 +118,7 @@ class SubstKeywords:
if not e_ref:
continue
e = database.get_event_from_handle(e_ref.ref)
if int(e.get_type()) == RelLib.EventType.MARRIAGE:
if e.get_type() == RelLib.EventType.MARRIAGE:
self.m = DateHandler.get_date(e)
mplace_handle = e.get_place_handle()
if mplace_handle: