From 08effdfea27d65b1b9ab311b47ac02eb095bc09b Mon Sep 17 00:00:00 2001 From: irinaschubert Date: Mon, 22 Nov 2021 11:51:15 +0100 Subject: [PATCH] fix(comments): fix comments in ontology creation (DEV-250) (#119) --- knora/dsplib/utils/onto_create_ontology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: