From 2e2c33af79d01b3209d8dd71133d3f4b0846d8d1 Mon Sep 17 00:00:00 2001 From: spoob Date: Thu, 4 Jun 2009 22:52:08 +0200 Subject: added buggy Zippyshare.com Download Plugin, fixed gettext bug --- module/thread_list.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'module/thread_list.py') diff --git a/module/thread_list.py b/module/thread_list.py index 531bc7401..8ae78b089 100644 --- a/module/thread_list.py +++ b/module/thread_list.py @@ -125,7 +125,6 @@ class Thread_List(object): with open(self.parent.config['failed_file'], 'a') as f: f.write(pyfile.url+"\n") - self.lock.release() return True @@ -151,15 +150,12 @@ class Thread_List(object): if self.reconnecting: return False - + self.lock.acquire() if self.check_reconnect(): - self.reconnecting = True - self.reconnect() - time.sleep(1.1) self.reconnecting = False @@ -185,7 +181,6 @@ class Thread_List(object): else: return False - def reconnect(self): reconn = subprocess.Popen(self.parent.config['reconnectMethod']) reconn.wait() -- cgit v1.2.3