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

svn: r15797
This commit is contained in:
Doug Blank 2010-08-22 13:38:31 +00:00
parent 777c929f88
commit 32f9ff1863

View File

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