From 1a6da114fccc21c7f36bdd6acb143aae1baadbaa Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 22 Aug 2010 13:35:51 +0000 Subject: [PATCH] 4190: Gedcom import: All my internet addresses are missing... svn: r15796 --- 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 494bc2f19..ce63d88b6 100644 --- a/src/plugins/lib/libgedcom.py +++ b/src/plugins/lib/libgedcom.py @@ -5623,7 +5623,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)