cubicweb/web/htmlwidgets.py
changeset 12825 71a842bdf81d
parent 12567 26744ad37953
--- a/cubicweb/web/htmlwidgets.py	Tue Dec 17 21:21:55 2019 +0100
+++ b/cubicweb/web/htmlwidgets.py	Thu Dec 19 08:13:22 2019 +0100
@@ -302,10 +302,9 @@
         value =  self._rows[rowindex][colindex]
         if value is None:
             return u''
-        elif isinstance(value, int):
+        if isinstance(value, int):
             return u'%09d' % value
-        else:
-            return unicode(value)
+        return str(value)
 
 
 class TableWidget(HTMLWidget):