diff --git a/ckanext/dcat/profiles/base.py b/ckanext/dcat/profiles/base.py index 17ac718e..890fc131 100644 --- a/ckanext/dcat/profiles/base.py +++ b/ckanext/dcat/profiles/base.py @@ -465,8 +465,7 @@ def _contact_details(self, subject, predicate): for agent in self.g.objects(subject, predicate): - contact["uri"] = (str(agent) if isinstance(agent, URIRef) - else self._get_vcard_property_value(agent, VCARD.hasUID)) + contact["uri"] = str(agent) if isinstance(agent, URIRef) else "" contact["name"] = self._get_vcard_property_value( agent, VCARD.hasFN, VCARD.fn