summaryrefslogtreecommitdiffstats
path: root/module/thread_list.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-22 15:20:14 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-22 15:20:14 +0200
commit58de24c63f11f53137fab3854d6324c5a321a37c (patch)
tree5239c6f40b059d5bfd8caae45810e4e01a1494e6 /module/thread_list.py
parentsharonline captcha method (diff)
downloadpyload-58de24c63f11f53137fab3854d6324c5a321a37c.tar.xz
reconnect works with new plugin system
Diffstat (limited to 'module/thread_list.py')
-rw-r--r--module/thread_list.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/thread_list.py b/module/thread_list.py
index 63f20c6f5..1dadb91d3 100644
--- a/module/thread_list.py
+++ b/module/thread_list.py
@@ -159,6 +159,7 @@ class Thread_List(object):
def reconnect(self):
reconn = subprocess.Popen(self.parent.config['reconnect_method'])
reconn.wait()
+ time.sleep(1)
ip = re.match(".*Current IP Address: (.*)</body>.*", urllib2.urlopen("http://checkip.dyndns.org/").read()).group(1) #versuchen neue ip aus zu lesen
while ip == "": #solange versuch bis neue ip ausgelesen
ip = re.match(".*Current IP Address: (.*)</body>.*", urllib2.urlopen("http://checkip.dyndns.org/").read()).group(1)