summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-01 10:26:50 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-01 10:26:50 +0200
commit5f826f14d0ec8c90359dbe668041c6e0c571aa3f (patch)
tree18b5c74e8826a437209b3f8b71c37906f678c1f9 /module/network
parentno autodecode , it may break some plugins (diff)
downloadpyload-5f826f14d0ec8c90359dbe668041c6e0c571aa3f.tar.xz
fixed last commit
Diffstat (limited to 'module/network')
-rw-r--r--module/network/HTTPChunk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py
index d1d56c02b..cf77ccae6 100644
--- a/module/network/HTTPChunk.py
+++ b/module/network/HTTPChunk.py
@@ -20,6 +20,7 @@ from os import remove
from os.path import exists
from time import sleep
from re import search
+from logging import getLogger
import pycurl
@@ -138,6 +139,8 @@ class HTTPChunk(HTTPRequest):
self.BOMChecked = False
# check and remove byte order mark
+ self.log = getLogger("log")
+
@property
def cj(self):
return self.p.cj