changeset 10396 | 33e44293b0eb |
parent 10095 | 200bd6a601dc |
child 10411 | 4ee15441f2eb |
--- a/entities/__init__.py Fri May 15 18:06:03 2015 +0200 +++ b/entities/__init__.py Wed Apr 15 22:48:20 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')