* src/GrampsDb/_ReadXML.py: save description properly on read

svn: r7343
This commit is contained in:
Don Allingham
2006-10-03 03:21:40 +00:00
parent f52e16de92
commit 6f88d70324
2 changed files with 2 additions and 1 deletions

View File

@@ -964,7 +964,7 @@ class GrampsParser(UpdateCallback):
return
url = RelLib.Url()
url.path = attrs["href"]
url.description = attrs.get("description",'')
url.set_description(attrs.get("description",''))
url.privacy = bool(attrs.get('priv'))
url.type.set_from_xml_str(attrs['type'])
if self.person: