diff options
Diffstat (limited to 'pyload/manager')
-rw-r--r-- | pyload/manager/Remote.py | 5 | ||||
-rw-r--r-- | pyload/manager/thread/Plugin.py | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/pyload/manager/Remote.py b/pyload/manager/Remote.py index 3c6dabefa..6023cdcfd 100644 --- a/pyload/manager/Remote.py +++ b/pyload/manager/Remote.py @@ -1,13 +1,14 @@ # -*- coding: utf-8 -*- # @author: RaNaN +import threading import traceback -class BackendBase(Thread): +class BackendBase(threading.Thread): def __init__(self, manager): - Thread.__init__(self) + threading.Thread.__init__(self) self.m = manager self.core = manager.core self.enabled = True 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 |