4190: Gedcom import: All my internet addresses are missing...

svn: r15796
This commit is contained in:
Doug Blank 2010-08-22 13:35:51 +00:00
parent 7151e07d3a
commit 1a6da114fc

View File

@ -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)