fixed validator recent typo
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user