Typo discovered by Just.
This commit is contained in:
parent
1f05708f69
commit
c6769c54f4
|
@ -351,7 +351,7 @@ class FTP:
|
||||||
break
|
break
|
||||||
if line[-2:] == CRLF:
|
if line[-2:] == CRLF:
|
||||||
line = line[:-2]
|
line = line[:-2]
|
||||||
elif line[:-1] == '\n':
|
elif line[-1:] == '\n':
|
||||||
line = line[:-1]
|
line = line[:-1]
|
||||||
callback(line)
|
callback(line)
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
Loading…
Reference in New Issue