From 21869e4939bbc347f3be2949c3a8fbc069361df9 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 24 Jan 2016 18:29:48 -0500 Subject: [PATCH] Missed object to media in libgedcom --- gramps/plugins/lib/libgedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index e3b515a35..9fa57825d 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -2308,7 +2308,7 @@ class GedcomParser(UpdateCallback): TOKEN_RNOTE : self.__media_ref_note, TOKEN_IGNORE : self.__ignore, } - self.func_list.append(self.object_parse_tbl) + self.func_list.append(self.media_parse_tbl) self.parse_loc_tbl = { TOKEN_ADR1 : self.__location_adr1, @@ -5178,7 +5178,7 @@ class GedcomParser(UpdateCallback): sub_state.note = "" sub_state.level = level - self.__parse_level(sub_state, self.object_parse_tbl, self.__ignore) + self.__parse_level(sub_state, self.media_parse_tbl, self.__ignore) state.msg += sub_state.msg return (sub_state.form, sub_state.filename, sub_state.title, sub_state.note)