Commit 4aacfa27 authored by Guido van Rossum's avatar Guido van Rossum

Typo discovered by Just.

parent a516b5dd
......@@ -351,7 +351,7 @@ class FTP:
break
if line[-2:] == CRLF:
line = line[:-2]
elif line[:-1] == '\n':
elif line[-1:] == '\n':
line = line[:-1]
callback(line)
fp.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment