Kaydet (Commit) c6769c54 authored tarafından Guido van Rossum's avatar Guido van Rossum

Typo discovered by Just.

üst 1f05708f
......@@ -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