fixed validator recent typo

This commit is contained in:
Massimo
2012-10-30 09:42:03 -05:00
parent bd6b719c32
commit 5713ec1365
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -778,7 +778,7 @@ class IS_FLOAT_IN_RANGE(Validator):
return (value, self.error_message)
def formatter(self, value):
if values is None:
if value is None:
return None
return str2dec(value).replace('.', self.dot)