summaryrefslogtreecommitdiffstats
path: root/pyload/network/HTTPDownload.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/network/HTTPDownload.py')
-rw-r--r--pyload/network/HTTPDownload.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/network/HTTPDownload.py b/pyload/network/HTTPDownload.py
index 959ffd111..e5917aa1f 100644
--- a/pyload/network/HTTPDownload.py
+++ b/pyload/network/HTTPDownload.py
@@ -3,14 +3,13 @@
from __future__ import with_statement
+import logging
import os
import shutil
import time
import pycurl
-from logging import getLogger
-
from pyload.network.HTTPChunk import ChunkInfo, HTTPChunk
from pyload.network.HTTPRequest import BadHeader
from pyload.plugin.Plugin import Abort
@@ -39,7 +38,7 @@ class HTTPDownload(object):
self.chunks = []
- self.log = getLogger("log")
+ self.log = logging.getLogger("log")
try:
self.info = ChunkInfo.load(filename)