entities/__init__.py
changeset 10411 4ee15441f2eb
parent 10251 2daa5c6dea4d
parent 10396 33e44293b0eb
child 10612 84468b90e9c1
child 10839 166c6f7b1be4
--- a/entities/__init__.py	Mon Jun 22 14:15:16 2015 +0200
+++ b/entities/__init__.py	Mon Jun 22 14:27:37 2015 +0200
@@ -68,7 +68,7 @@
             if rschema.meta:
                 continue
             value = self.cw_attr_value(rschema.type)
-            if value:
+            if value is not None:
                 # make the value printable (dates, floats, bytes, etc.)
                 return self.printable_value(rschema.type, value, attrschema.type,
                                             format='text/plain')