diff --git a/web/models.py b/web/models.py index d32fbcb42..abec3088a 100644 --- a/web/models.py +++ b/web/models.py @@ -204,7 +204,10 @@ def concept_comment(self, concept_key): :param concept_key: key for the concept :return: the string containing the concept's comment """ - return self.concept(concept_key).get("comment", "") + comment = self.concept(concept_key).get("comment", "") + if isinstance(comment, list): + comment = "\n".join(comment) + return comment class MissingLanguageError(Exception):