diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-26 00:04:33 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-26 00:04:33 +0200 |
commit | d44888ca5ab15913db944d1b1646df8f103c4ba6 (patch) | |
tree | e1d9d6109cb29ae45db1fe065b8395e5f3f789eb /module/thread_list.py | |
parent | changed variable names (diff) | |
download | pyload-d44888ca5ab15913db944d1b1646df8f103c4ba6.tar.xz |
improved plugins
Diffstat (limited to 'module/thread_list.py')
-rw-r--r-- | module/thread_list.py | 13 |
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 |