Skip to content


Browse files Browse the repository at this point in the history
fix: problem with reference to list values (DEV-356) (#143)
  • Loading branch information
irinaschubert committed Jan 11, 2022
1 parent 198b9ca commit 3fce99a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions knora/dsplib/models/
Expand Up @@ -835,9 +835,9 @@ def find_listnode(nodes: list[ListNode], name: str) -> Optional[str]:
if lists is None:
raise BaseError("Lists from ResourceInstanceFactory must be provided!")
node_iri = None
for list in lists:
if == listname:
node_iri = find_listnode(list.children, nodename)
for list_item in lists:
if == listname:
node_iri = find_listnode(list_item.children, nodename)
if node_iri is not None:
self._value = node_iri
Expand Down

0 comments on commit 3fce99a

Please sign in to comment.