special behaviour for strings == 'None'

This commit is contained in:
Frédéric Péters 2014-06-10 14:09:47 +02:00
parent 0bc9b580e9
commit 54c0f6a657
1 changed files with 1 additions and 1 deletions

View File

@ -275,6 +275,6 @@ class LabelColumn(Column):
def renderCell(self, item):
value = get_value(item, self.attribute)
if value is None:
if value is None or value == 'None':
value = ''
return value