summaryrefslogtreecommitdiffstats
path: root/module/thread_list.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-01-17 18:31:52 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-01-17 18:31:52 +0100
commit8d842efb12ee7db88505e3078b626855e55aa4bf (patch)
tree54670c428b961f299ec10dd91255f8f17333f7d5 /module/thread_list.py
parentFixed Shareonline (diff)
downloadpyload-8d842efb12ee7db88505e3078b626855e55aa4bf.tar.xz
some fixes, closed #62 ??
Diffstat (limited to 'module/thread_list.py')
-rw-r--r--module/thread_list.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/thread_list.py b/module/thread_list.py
index 55b21093f..e4952587c 100644
--- a/module/thread_list.py
+++ b/module/thread_list.py
@@ -201,7 +201,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['activated']['method'])#, stdout=subprocess.PIPE)
reconn.wait()
time.sleep(1)
@@ -212,10 +212,11 @@ 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):
+ self.pause = True
for pyfile in self.py_downloading:
pyfile.plugin.req.abort = True