Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/TurboGears/tg2 into …
Browse files Browse the repository at this point in the history
…development
  • Loading branch information
amol- committed Jun 18, 2016
2 parents d31d04e + 4c4a9cb commit c68b8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tg/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Convert(object):
@expose()
@validate({
'num': Converter(int, 'Must be a number')
'num': Convert(int, 'Must be a number')
}, error_handler=insert_number)
def post_pow2(self, num):
return str(num*num)
Expand Down

0 comments on commit c68b8e0

Please sign in to comment.