diff --git a/VERSION b/VERSION index 180efdce..0334be07 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.5.1-stable+timestamp.2013.06.18.04.41.46 +Version 2.5.1-stable+timestamp.2013.06.18.04.44.34 diff --git a/gluon/validators.py b/gluon/validators.py index a7284285..97a4e490 100644 --- a/gluon/validators.py +++ b/gluon/validators.py @@ -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: