fixed Issue 1541:[REQ] support for dot=T('.') in IS_DECIMAL_IN_RANGE()

This commit is contained in:
mdipierro
2013-06-18 04:45:16 -05:00
parent ad61a61d91
commit 4b2afc8ae1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -812,7 +812,7 @@ class IS_FLOAT_IN_RANGE(Validator):
dot='.'
):
self.minimum = self.maximum = None
self.dot = dot
self.dot = str(dot)
if minimum is None:
if maximum is None:
if error_message is None:
@@ -918,7 +918,7 @@ class IS_DECIMAL_IN_RANGE(Validator):
dot='.'
):
self.minimum = self.maximum = None
self.dot = dot
self.dot = str(dot)
if minimum is None:
if maximum is None:
if error_message is None: