Skip to content

Commit

Permalink
no longer should encode ascii; everything is utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
milescalabresi committed Oct 27, 2023
1 parent b758601 commit 795098e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/esp/users/forms/user_reg.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def clean(self, value):
if len(email_parts) != 2:
raise forms.ValidationError('Email addresses must be of the form "name@host"')

email_host = email_parts[1].encode('ascii')
email_host = email_parts[1]

try:
import DNS
Expand Down

0 comments on commit 795098e

Please sign in to comment.