Skip to content

Commit e5dd027

Browse files
committed
Ignore case while finding
1 parent 8ad9c5e commit e5dd027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ftplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def parse150(resp):
796796
raise error_reply(resp)
797797

798798
start = resp.find('(')
799-
end = resp.find(' bytes)')
799+
end = resp.lower().find(' bytes)')
800800

801801
if start == -1 or end == -1 or start >= end:
802802
return None

0 commit comments

Comments
 (0)