diff --git a/src/GrampsParser.py b/src/GrampsParser.py index 18d7ea4f1..598ab76e5 100644 --- a/src/GrampsParser.py +++ b/src/GrampsParser.py @@ -450,6 +450,8 @@ class GrampsParser(handler.ContentHandler): def start_objref(self,attrs): self.objref = ObjectRef() self.objref.setReference(self.db.findObjectNoMap(u2l(attrs['ref']))) + if attrs.has_key('priv'): + self.objref.setPrivacy(int(u2l(attrs['priv']))) if self.family: self.family.addPhoto(self.objref) elif self.source: