summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar emkayyyy <joostzoellner@online.de> 2015-09-12 09:20:52 +0200
committerGravatar emkayyyy <joostzoellner@online.de> 2015-09-12 09:20:52 +0200
commitae83396021a839e85c77d498ae726186c1a5e575 (patch)
treed342773e3542953108618b6f9db4c3f83cbe8661
parentMerge pull request #1807 from GammaC0de/patch-1 (diff)
downloadpyload-ae83396021a839e85c77d498ae726186c1a5e575.tar.xz
Fix IRCInterface and XMPPInterface
Following Error came up when I tried setting up either IRCInterface or XMPPInterface. AttributeError: 'IRCInterface' object has no attribute 'set_daemon' With my change now it works. Might have been caused by the removal of chamelCase.
-rw-r--r--module/plugins/hooks/IRCInterface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py
index 08b1bad0c..5d8928a57 100644
--- a/module/plugins/hooks/IRCInterface.py
+++ b/module/plugins/hooks/IRCInterface.py
@@ -18,7 +18,7 @@ from module.utils import formatSize
class IRCInterface(Thread, Addon):
__name__ = "IRCInterface"
__type__ = "hook"
- __version__ = "0.15"
+ __version__ = "0.16"
__status__ = "testing"
__config__ = [("host" , "str" , "IRC-Server Address" , "Enter your server here!"),
@@ -40,7 +40,7 @@ class IRCInterface(Thread, Addon):
def __init__(self, core, manager):
Thread.__init__(self)
Addon.__init__(self, core, manager)
- self.set_daemon(True)
+ self.setDaemon(True)
def activate(self):