diff options
author | spoob <spoob@gmx.de> | 2009-06-04 22:52:08 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-06-04 22:52:08 +0200 |
commit | 2e2c33af79d01b3209d8dd71133d3f4b0846d8d1 (patch) | |
tree | eaeceeef61bce801b57687bb0fef33a70222e7d1 /module | |
parent | Added YouPorn.com Plugin (diff) | |
download | pyload-2e2c33af79d01b3209d8dd71133d3f4b0846d8d1.tar.xz |
added buggy Zippyshare.com Download Plugin, fixed gettext bug
Diffstat (limited to 'module')
-rw-r--r-- | module/thread_list.py | 7 |
1 files changed, 1 insertions, 6 deletions
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() |