summaryrefslogtreecommitdiffstats
path: root/pyload/network/HTTPRequest.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/network/HTTPRequest.py')
-rw-r--r--pyload/network/HTTPRequest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/network/HTTPRequest.py b/pyload/network/HTTPRequest.py
index 14c5b8cb6..a27c59ff2 100644
--- a/pyload/network/HTTPRequest.py
+++ b/pyload/network/HTTPRequest.py
@@ -3,13 +3,13 @@
from __future__ import with_statement
+import logging
import urllib
import pycurl
from codecs import getincrementaldecoder, lookup, BOM_UTF8
from httplib import responses
-from logging import getLogger
from cStringIO import StringIO
from pyload.plugin.Plugin import Abort, Fail
@@ -59,7 +59,7 @@ class HTTPRequest(object):
self.c.setopt(pycurl.WRITEFUNCTION, self.write)
self.c.setopt(pycurl.HEADERFUNCTION, self.writeHeader)
- self.log = getLogger("log")
+ self.log = logging.getLogger("log")
def initHandle(self):