summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-26 23:35:01 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-26 23:35:01 +0200
commit9953b7748825bb0d0929720b18cdf78386fdc466 (patch)
treeb18e54df8fd7503ea2162d5e777c2e63a7a73886 /module
parentrealdebrid fix (diff)
downloadpyload-9953b7748825bb0d0929720b18cdf78386fdc466.tar.xz
fixes last commit
Diffstat (limited to 'module')
-rw-r--r--module/network/HTTPChunk.py1
-rw-r--r--module/network/HTTPDownload.py1
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)