Typo discovered by Just.
This commit is contained in:
parent
1f05708f69
commit
c6769c54f4
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue