diff options
Diffstat (limited to 'ihatemoney/forms.py')
| -rw-r--r-- | ihatemoney/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py index de9004d..e8d437b 100644 --- a/ihatemoney/forms.py +++ b/ihatemoney/forms.py @@ -189,7 +189,7 @@ class InviteForm(FlaskForm): for email in [email.strip() for email in form.emails.data.split(",")]: try: email_validator.validate_email(email) - except email_validator.EmailNotValidError as e: + except email_validator.EmailNotValidError: raise ValidationError(_("The email %(email)s is not valid", email=email)) |
