branch | stable |
changeset 4435 | 3e253ad89468 |
parent 4212 | ab6573088b4a |
child 4459 | f628abfb3a6c |
child 4485 | 5f99eb0b99f7 |
--- a/appobject.py Wed Feb 03 10:55:25 2010 +0100 +++ b/appobject.py Wed Feb 03 16:19:12 2010 +0100 @@ -525,9 +525,8 @@ def format_float(self, num): """return a string for floating point number according to instance's - configuration - """ - if num: + configuration """ + if num is not None: return self.req.property_value('ui.float-format') % num return u''