Skip to content

Commit

Permalink
fix form.validates for checkbox. (tx Justin Davis).
Browse files Browse the repository at this point in the history
  • Loading branch information
anandology committed Jul 19, 2010
1 parent 9169ad3 commit a660312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def validates(self, source=None, _validate=True, **kw):
if _validate:
out = i.validate(v) and out
else:
i.value = v
i.set_value(v)
if _validate:
out = out and self._validate(source)
self.valid = out
Expand Down

0 comments on commit a660312

Please sign in to comment.