Skip to content

Commit

Permalink
This is not a dict.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Apr 25, 2015
1 parent d925eec commit af021e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modoboa_webmail/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __call__(self, value):
value = force_text(value)
emails = [unicode.strip(email) for email in value.split(",")]
addresses = getaddresses(emails)
[validate_email(e) for r, e in addresses.values]
[validate_email(email) for name, email in addresses]

validate_email_list = EmailListValidator()

0 comments on commit af021e9

Please sign in to comment.