We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 090b1e4 + f765fb9 commit 4229e17Copy full SHA for 4229e17
email_validator/__init__.py
@@ -295,7 +295,7 @@ def main():
295
# Strip newlines and skip blank lines and comments.
296
line = line.strip()
297
if line == "" or line[0] == "#": continue
298
- if sys.version_info < (3,): email = email.decode("utf8") # assume utf8 in input
+ if sys.version_info < (3,): line = line.decode("utf8") # assume utf8 in input
299
300
# Pick up "[valid]"/"[invalid]" lines.
301
if line == "[valid]":
0 commit comments