Skip to content
Permalink
Browse files
fix: problem with reference to list values (DEV-356) (#143)
  • Loading branch information
irinaschubert committed Jan 11, 2022
1 parent 198b9ca commit 3fce99a0d4236a8dcaa21785c3f3deba286725da
Showing with 3 additions and 3 deletions.
  1. +3 −3 knora/dsplib/models/value.py
@@ -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 list.name == listname:
node_iri = find_listnode(list.children, nodename)
for list_item in lists:
if list_item.name == listname:
node_iri = find_listnode(list_item.children, nodename)
if node_iri is not None:
self._value = node_iri
else:

0 comments on commit 3fce99a

Please sign in to comment.