From 58de24c63f11f53137fab3854d6324c5a321a37c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 22 Jun 2009 15:20:14 +0200 Subject: reconnect works with new plugin system --- module/thread_list.py | 1 + 1 file changed, 1 insertion(+) (limited to 'module/thread_list.py') 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: (.*).*", 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: (.*).*", urllib2.urlopen("http://checkip.dyndns.org/").read()).group(1) -- cgit v1.2.3