summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-17 22:44:29 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-17 22:44:29 +0200
commit59685735a69b937bab10bd4b852e3f85c74c1743 (patch)
tree50c1e086d7e6f75a9d52b0be749e485a754153f3 /module/network
parentfixes fallback to no resume (diff)
downloadpyload-59685735a69b937bab10bd4b852e3f85c74c1743.tar.xz
fixes one of last commits
Diffstat (limited to 'module/network')
-rw-r--r--module/network/HTTPChunk.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py
index 0b1cdff74..14900ca49 100644
--- a/module/network/HTTPChunk.py
+++ b/module/network/HTTPChunk.py
@@ -122,6 +122,7 @@ class HTTPChunk(HTTPRequest):
self.p = parent # HTTPDownload instance
self.range = range # tuple (start, end)
self.resume = resume
+ self.log = parent.log
self.arrived = 0
self.lastURL = self.p.referer
@@ -141,8 +142,6 @@ class HTTPChunk(HTTPRequest):
self.rep = None
- self.log = p.log
-
@property
def cj(self):
return self.p.cj