Fix import bug introduced in [27dab7]
This commit is contained in:
parent
60761c0aff
commit
a1b069e3d8
@ -1149,6 +1149,7 @@ class GrampsParser(UpdateCallback):
|
||||
self.inaugurate_id(attrs.get('id'), PLACE_KEY, self.placeobj)
|
||||
self.placeobj.private = bool(attrs.get("priv"))
|
||||
self.placeobj.change = int(attrs.get('change', self.change))
|
||||
if self.__xml_version >= (1, 6, 0):
|
||||
self.placeobj.name = attrs.get("name")
|
||||
self.placeobj.place_type.set_from_xml_str(attrs.get("type"))
|
||||
self.info.add('new-object', PLACE_KEY, self.placeobj)
|
||||
|
Loading…
Reference in New Issue
Block a user