From 32f9ff186331fd7156776af3ee8b9bddbbe11e23 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 22 Aug 2010 13:38:31 +0000 Subject: [PATCH] 4190: Gedcom import: All my internet addresses are missing... svn: r15797 --- src/plugins/lib/libgedcom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lib/libgedcom.py b/src/plugins/lib/libgedcom.py index 85b613bec..28b70a454 100644 --- a/src/plugins/lib/libgedcom.py +++ b/src/plugins/lib/libgedcom.py @@ -5629,7 +5629,7 @@ class GedcomParser(UpdateCallback): pass def build_media_object(self, obj, form, filename, title, note): - if form == "url": + if isinstance(form, basestring) and form.lower() == "url": url = gen.lib.Url() url.set_path(filename) url.set_description(title)