manage title is none

This commit is contained in:
tdesvenain 2013-03-22 11:01:19 +01:00
parent bee2f0df3d
commit be51fd9536
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class TermViewlet(grok.Viewlet):
title = self.context.get_full_title()
else:
title = self.context.Title()
title = title.decode('utf-8')
title = title and title.decode('utf-8') or u""
return title
@property