bug fix: keep textDescription empty if no text resource present

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4030 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-10-03 13:54:11 +00:00
parent 5dacf19a5d
commit 183d0cafb5

View file

@ -85,6 +85,8 @@ class ConceptView(BaseConceptView):
@Lazy
def renderedTextDescription(self):
if self.textDescription is None:
return u''
return self.renderDescription(self.textDescription)
@Lazy