From d84109f43586544d76b0e82dcd7773de2e81b8b1 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 1 Dec 2014 18:09:33 +0100 Subject: [PATCH] 7866: Crash on Ancestry.com .ged import; consistent. --- 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 d784b96c8..a7fdd4681 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -6807,7 +6807,7 @@ class GedcomParser(UpdateCallback): sattr = SrcAttribute() sattr.set_type(_("Version number of software product")) sattr.set_value(self.genvers) - self.source.add_attribute(sattr) + self.def_src.add_attribute(sattr) def __header_sour_corp(self, line, state): """