diff options
Diffstat (limited to 'pyload/manager/thread/Plugin.py')
-rw-r--r-- | pyload/manager/thread/Plugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/manager/thread/Plugin.py b/pyload/manager/thread/Plugin.py index 2621bc861..0163152f3 100644 --- a/pyload/manager/thread/Plugin.py +++ b/pyload/manager/thread/Plugin.py @@ -3,6 +3,7 @@ from __future__ import with_statement +import threading import traceback from Queue import Queue @@ -21,12 +22,12 @@ from pyload.utils.packagetools import parseNames from pyload.utils import fs_join -class PluginThread(Thread): +class PluginThread(threading.Thread): """abstract base class for thread types""" def __init__(self, manager): """Constructor""" - Thread.__init__(self) + threading.Thread.__init__(self) self.setDaemon(True) self.m = manager #: thread manager |