Show More
@@ -261,6 +261,8 class FTPRangeHandler(urllib2.FTPHandler | |||||
261 | host, port = splitport(host) |
|
261 | host, port = splitport(host) | |
262 | if port is None: |
|
262 | if port is None: | |
263 | port = ftplib.FTP_PORT |
|
263 | port = ftplib.FTP_PORT | |
|
264 | else: | |||
|
265 | port = int(port) | |||
264 |
|
266 | |||
265 | # username/password handling |
|
267 | # username/password handling | |
266 | user, host = splituser(host) |
|
268 | user, host = splituser(host) |
General Comments 0
You need to be logged in to leave comments.
Login now