Skip to content

Commit

Permalink
fixed indentation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed Apr 7, 2019
1 parent 39c8463 commit 55a98df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydal/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,8 +822,8 @@ def validate(self, value):
if ((self.minimum is None or v >= self.minimum) and
(self.maximum is None or v < self.maximum)):
return v
raise ValidationError(range_error_message(
self.error_message, 'an integer', self.minimum, self.maximum))
raise ValidationError(range_error_message(
self.error_message, 'an integer', self.minimum, self.maximum))


def str2dec(number):
Expand Down

0 comments on commit 55a98df

Please sign in to comment.