diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-22 15:20:14 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-22 15:20:14 +0200 |
commit | 58de24c63f11f53137fab3854d6324c5a321a37c (patch) | |
tree | 5239c6f40b059d5bfd8caae45810e4e01a1494e6 /module/thread_list.py | |
parent | sharonline captcha method (diff) | |
download | pyload-58de24c63f11f53137fab3854d6324c5a321a37c.tar.xz |
reconnect works with new plugin system
Diffstat (limited to 'module/thread_list.py')
-rw-r--r-- | module/thread_list.py | 1 |
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) |