diff options
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) |