From aabf8bfe6c028ab8fc5fe66c034308d7d1be5849 Mon Sep 17 00:00:00 2001 From: kulath Date: Thu, 12 Mar 2015 14:10:35 +0000 Subject: [PATCH] 0008401: NameError in GEDCOM importer --- gramps/plugins/lib/libgedcom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index 62ed678ad..05dfe79e2 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -5152,7 +5152,7 @@ class GedcomParser(UpdateCallback): # +1 SOUR @@ {0:M} if not line.data: self.__add_msg(_("Empty note ignored"), line, state) - self.__skip_subordinate_levels(level+1, state) + self.__skip_subordinate_levels(state.level+1, state) else: new_note = Note(line.data) new_note.set_gramps_id(self.nid_map[""])