summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPChunk.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/HTTPChunk.py')
-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