From 4873f5245b599eac4fbb752971a5a4e8c7716a9c Mon Sep 17 00:00:00 2001 From: "Craig J. Anderson" Date: Thu, 23 Oct 2014 20:53:05 -0400 Subject: [PATCH] fix for https://gramps-project.org/bugs/view.php?id=6355 Craig A. --- gramps/plugins/lib/libsubstkeyword.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/libsubstkeyword.py b/gramps/plugins/lib/libsubstkeyword.py index aaac5b159..457169a79 100644 --- a/gramps/plugins/lib/libsubstkeyword.py +++ b/gramps/plugins/lib/libsubstkeyword.py @@ -741,7 +741,7 @@ class VariableParse(object): if not e_ref: continue event = self.friend.database.get_event_from_handle(e_ref.ref) - if event.get_type().is_type(event_name): + if str(event.get_type()) == event_name: return event return None