summaryrefslogtreecommitdiffstats
path: root/module/thread_list.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-26 00:04:33 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-26 00:04:33 +0200
commitd44888ca5ab15913db944d1b1646df8f103c4ba6 (patch)
treee1d9d6109cb29ae45db1fe065b8395e5f3f789eb /module/thread_list.py
parentchanged variable names (diff)
downloadpyload-d44888ca5ab15913db944d1b1646df8f103c4ba6.tar.xz
improved plugins
Diffstat (limited to 'module/thread_list.py')
-rw-r--r--module/thread_list.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/module/thread_list.py b/module/thread_list.py
index 34fa05599..1f967540b 100644
--- a/module/thread_list.py
+++ b/module/thread_list.py
@@ -53,11 +53,11 @@ class Thread_List(object):
def remove_thread(self, thread):
self.threads.remove(thread)
- def status(self):
- if not self.status_queue.empty():
- while not self.status_queue.empty():
- status = self.status_queue.get()
- self.py_load_files[status.id].status = status
+# def status(self):
+# if not self.status_queue.empty():
+# while not self.status_queue.empty():
+# status = self.status_queue.get()
+# self.py_load_files[status.id].status = status
def get_job(self):
# return job if suitable, otherwise send thread idle
@@ -71,7 +71,8 @@ class Thread_List(object):
if pyfile:
self.py_downloading.append(pyfile)
- self.occ_plugins.append(pyfile.modul.__name__)
+ if not pyfile.plugin.multi_dl:
+ self.occ_plugins.append(pyfile.modul.__name__)
self.lock.release()
return pyfile