diff options
Diffstat (limited to 'pyload/manager/ThreadManager.py')
-rw-r--r-- | pyload/manager/ThreadManager.py | 8 |
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) |