Skip to content

Commit

Permalink
Py3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Jun 21, 2019
1 parent 7df9d42 commit ed17a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baseframe/forms/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __call__(self, form, field):
try:
validator(form, fake_field)
except StopValidation as e:
if e.message:
if six.text_type(e):
raise
else:
break
Expand Down

0 comments on commit ed17a32

Please sign in to comment.