From a677c082aeabba00a079db581bfae194d069cf11 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 9 May 2015 23:24:08 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1406 --- pyload/manager/thread/Plugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyload/manager/thread/Plugin.py') 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 -- cgit v1.2.3