Skip to content

Commit

Permalink
Keep this part as it is
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans-Chrstian committed Oct 14, 2024
1 parent 448c311 commit b47f389
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ckanext/dcat/profiles/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b47f389

Please sign in to comment.