diff options
Diffstat (limited to 'pyload/Thread/Download.py')
-rw-r--r-- | pyload/Thread/Download.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/Thread/Download.py b/pyload/Thread/Download.py index c7c2470dd..c20c7277e 100644 --- a/pyload/Thread/Download.py +++ b/pyload/Thread/Download.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # @author: RaNaN +import Queue import os import sys import time @@ -8,8 +9,6 @@ import traceback import pycurl -from Queue import Queue -from copy import copy from pprint import pformat from types import MethodType @@ -24,7 +23,7 @@ class DownloadThread(PluginThread): """Constructor""" PluginThread.__init__(self, manager) - self.queue = Queue() #: job queue + self.queue = Queue.Queue() #: job queue self.active = False self.start() |