summaryrefslogtreecommitdiffstats
path: root/pyload/manager/ThreadManager.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-03 21:20:20 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-03 21:20:20 +0200
commitf6e5359110f4bd5facc04a98f94acbc41b6e5228 (patch)
tree1f625724951c1b3a848f96c65708f437807f7190 /pyload/manager/ThreadManager.py
parent[UpdateManager] Support new plugins structure (diff)
downloadpyload-f6e5359110f4bd5facc04a98f94acbc41b6e5228.tar.xz
Update pyload to the new plugins structure
Diffstat (limited to 'pyload/manager/ThreadManager.py')
-rw-r--r--pyload/manager/ThreadManager.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/manager/ThreadManager.py b/pyload/manager/ThreadManager.py
index 1073f8040..50af4a93a 100644
--- a/pyload/manager/ThreadManager.py
+++ b/pyload/manager/ThreadManager.py
@@ -42,8 +42,8 @@ class ThreadManager:
self.core = core
self.log = core.log
- self.threads = [] # thread list
- self.localThreads = [] #hook+decrypter threads
+ self.threads = [] #: thread list
+ self.localThreads = [] #: addon+decrypter threads
self.pause = True
@@ -185,7 +185,7 @@ class ThreadManager:
ip = self.getIP()
- self.core.hookManager.beforeReconnecting(ip)
+ self.core.addonManager.beforeReconnecting(ip)
self.log.debug("Old IP: %s" % ip)
@@ -202,7 +202,7 @@ class ThreadManager:
reconn.wait()
sleep(1)
ip = self.getIP()
- self.core.hookManager.afterReconnecting(ip)
+ self.core.addonManager.afterReconnecting(ip)
self.log.info(_("Reconnected, new IP: %s") % ip)