Skip to content

Commit

Permalink
fix(comments): fix comments in ontology creation (DEV-250) (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
irinaschubert committed Nov 22, 2021
1 parent 08c1059 commit 08effdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knora/dsplib/utils/onto_create_ontology.py
Expand Up @@ -305,7 +305,7 @@ def create_ontology(input_file: str,
if isinstance(super_classes, str):
super_classes = [super_classes]
reslabel = LangString(resclass.get("labels"))
rescomment = resclass.get("comment")
rescomment = resclass.get("comments")
if rescomment is not None:
rescomment = LangString(rescomment)
try:
Expand Down

0 comments on commit 08effdf

Please sign in to comment.