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/plugin/addon/IRCInterface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyload/plugin/addon/IRCInterface.py') diff --git a/pyload/plugin/addon/IRCInterface.py b/pyload/plugin/addon/IRCInterface.py index 3cf21b409..1d7683bf4 100644 --- a/pyload/plugin/addon/IRCInterface.py +++ b/pyload/plugin/addon/IRCInterface.py @@ -4,6 +4,7 @@ import re import socket import ssl import time +import threading import traceback import pycurl @@ -38,7 +39,7 @@ class IRCInterface(Thread, Addon): def __init__(self, core, manager): - Thread.__init__(self) + threading.Thread.__init__(self) Addon.__init__(self, core, manager) self.setDaemon(True) -- cgit v1.2.3