summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-06-04 22:52:08 +0200
committerGravatar spoob <spoob@gmx.de> 2009-06-04 22:52:08 +0200
commit2e2c33af79d01b3209d8dd71133d3f4b0846d8d1 (patch)
treeeaeceeef61bce801b57687bb0fef33a70222e7d1 /module
parentAdded YouPorn.com Plugin (diff)
downloadpyload-2e2c33af79d01b3209d8dd71133d3f4b0846d8d1.tar.xz
added buggy Zippyshare.com Download Plugin, fixed gettext bug
Diffstat (limited to 'module')
-rw-r--r--module/thread_list.py7
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()