Skip to content

Commit

Permalink
opendatazurich#33 fix type issuer for literal
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kurz committed Jun 5, 2024
1 parent 303aed9 commit 2e6bb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/stadtzh_losdharvest/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def _get_attributes(self, dataset_ref):
speak_name = self._object(ref, SCHEMA.name)
tech_name = self._object(ref, SCHEMA.alternateName)
description = self._object(ref, SCHEMA.description)
position = self._object(ref, SCHEMA.position) or 0
position = self._object_value_int(ref, SCHEMA.position) or 0

if tech_name is not None:
attribute_name = "%s (technisch: %s)" % (speak_name, tech_name)
Expand Down

0 comments on commit 2e6bb50

Please sign in to comment.