diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-26 21:23:16 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-26 21:23:16 +0100 |
commit | 769f156ea822d4520620727dc1317224a02bdaaa (patch) | |
tree | 7413f3129f839a1a01c0754c0a845a8154c711ca /module/thread_list.py | |
parent | Added tag v0.3 for changeset e848797046d9 (diff) | |
download | pyload-769f156ea822d4520620727dc1317224a02bdaaa.tar.xz |
extended script support
Diffstat (limited to 'module/thread_list.py')
-rw-r--r-- | module/thread_list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/thread_list.py b/module/thread_list.py index 9211c7c2e..1a66bf6f5 100644 --- a/module/thread_list.py +++ b/module/thread_list.py @@ -200,7 +200,7 @@ class Thread_List(object): def reconnect(self): self.parent.logger.info("Start reconnect") ip = re.match(".*Current IP Address: (.*)</body>.*", urllib2.urlopen("http://checkip.dyndns.org/").read()).group(1) - #self.parent.hookManager.beforeReconnecting(ip) + self.parent.hookManager.beforeReconnecting(ip) reconn = subprocess.Popen(self.parent.config['reconnect']['method'])#, stdout=subprocess.PIPE) reconn.wait() time.sleep(1) @@ -211,7 +211,7 @@ class Thread_List(object): except: ip = "" time.sleep(1) - #self.parent.hookManager.afterReconnecting(ip) + self.parent.hookManager.afterReconnecting(ip) self.parent.logger.info("Reconnected, new IP: " + ip) def stopAllDownloads(self): |