summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
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