fixed validator recent typo

This commit is contained in:
Massimo
2012-10-30 09:42:03 -05:00
parent 7b2afa109e
commit 2f881085ef
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.2.1 (2012-10-29 22:25:15) stable
Version 2.2.1 (2012-10-30 09:41:34) stable
+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)