diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-26 23:35:01 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-26 23:35:01 +0200 |
commit | 9953b7748825bb0d0929720b18cdf78386fdc466 (patch) | |
tree | b18e54df8fd7503ea2162d5e777c2e63a7a73886 /module | |
parent | realdebrid fix (diff) | |
download | pyload-9953b7748825bb0d0929720b18cdf78386fdc466.tar.xz |
fixes last commit
Diffstat (limited to 'module')
-rw-r--r-- | module/network/HTTPChunk.py | 1 | ||||
-rw-r--r-- | module/network/HTTPDownload.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py index 88e6e49c6..cf77ccae6 100644 --- a/module/network/HTTPChunk.py +++ b/module/network/HTTPChunk.py @@ -235,6 +235,7 @@ class HTTPChunk(HTTPRequest): name = orgline.partition("filename=")[2] name = name.replace('"', "").replace("'", "").replace(";", "").strip() self.p.nameDisposition = name + self.log.debug("Content-Disposition: %s" % name) if not self.resume and line.startswith("content-length"): self.p.size = int(line.split(":")[1]) diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py index 44cf5fdb2..40e2e69e1 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -110,7 +110,6 @@ class HTTPDownload(): fo.close() if self.nameDisposition and self.disposition: - self.log.debug("Content-Disposition: %s" % self.nameDisposition) self.filename = save_join(dirname(self.filename), self.nameDisposition) move(init, self.filename) |