* src/GrampsDb/_ReadXML.py (start_url): Parse URL type.

svn: r6666
This commit is contained in:
Alex Roitman
2006-05-15 05:37:54 +00:00
parent 1636a418cd
commit 4a72a456d8
2 changed files with 2 additions and 0 deletions

View File

@ -903,6 +903,7 @@ class GrampsParser(UpdateCallback):
url.path = attrs["href"]
url.description = attrs.get("description",'')
url.privacy = bool(attrs.get('priv'))
url.type.set_from_xml_str(attrs['type'])
if self.person:
self.person.add_url(url)
elif self.placeobj: