From 5f826f14d0ec8c90359dbe668041c6e0c571aa3f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 1 Jun 2011 10:26:50 +0200 Subject: fixed last commit --- module/network/HTTPChunk.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/network') 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 -- cgit v1.2.3