diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-20 22:56:34 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-20 23:02:08 +0200 |
commit | 892b7cbd4981b764bed30b2ccc5ca73d791c39f2 (patch) | |
tree | 1f5f142ad7e21de9e88f0c15957bbc7e03a9d1ff /pyload/plugin/hoster/Ftp.py | |
parent | Spare code cosmetics (8) (diff) | |
download | pyload-892b7cbd4981b764bed30b2ccc5ca73d791c39f2.tar.xz |
Spare code cosmetics (9)
Diffstat (limited to 'pyload/plugin/hoster/Ftp.py')
-rw-r--r-- | pyload/plugin/hoster/Ftp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/hoster/Ftp.py b/pyload/plugin/hoster/Ftp.py index 4f6a01d22..86049df04 100644 --- a/pyload/plugin/hoster/Ftp.py +++ b/pyload/plugin/hoster/Ftp.py @@ -69,7 +69,7 @@ class Ftp(Hoster): pyfile.url = pyfile.url.rstrip('/') pkgname = "/".join(pyfile.package().name, urlparse(pyfile.url).path.rpartition('/')[2]) pyfile.url += '/' - self.req.http.c.setopt(48, 1) # CURLOPT_DIRLISTONLY + self.req.http.c.setopt(48, 1) #: CURLOPT_DIRLISTONLY res = self.load(pyfile.url, decode=False) links = [pyfile.url + quote(x) for x in res.splitlines()] self.logDebug("LINKS", links) |