diff --git a/knora/dsplib/utils/onto_create_ontology.py b/knora/dsplib/utils/onto_create_ontology.py index 1768cbc88..3ebc4c250 100644 --- a/knora/dsplib/utils/onto_create_ontology.py +++ b/knora/dsplib/utils/onto_create_ontology.py @@ -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: