changeset 4392 | 91a56a30141e |
parent 4382 | 6fb02edd05da |
child 4481 | 56440a1f816a |
--- a/web/formwidgets.py Wed Jan 27 09:57:53 2010 +0100 +++ b/web/formwidgets.py Wed Jan 27 09:59:13 2010 +0100 @@ -115,7 +115,7 @@ posted = form._cw.form val = posted.get(field.input_name(form, self.suffix)) if isinstance(val, basestring): - val = val.strip() or None + val = val.strip() return val @deprecated('[3.6] use values_and_attributes')