diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-22 16:38:05 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-22 16:38:05 +0200 |
commit | 872412242c1a6e7217649d9606e9207893513434 (patch) | |
tree | cb6516fb9874f175387aadd1e417259f9502c05a /module/thread_list.py | |
parent | remove queue from thread list and implemented own method to get suited (diff) | |
download | pyload-872412242c1a6e7217649d9606e9207893513434.tar.xz |
fixed little bugs
Diffstat (limited to 'module/thread_list.py')
-rw-r--r-- | module/thread_list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/thread_list.py b/module/thread_list.py index 5f1710368..34fa05599 100644 --- a/module/thread_list.py +++ b/module/thread_list.py @@ -65,7 +65,7 @@ class Thread_List(object): pyfile = None - for i in range(0,len(self.py_load_files)): + for i in range(len(self.py_load_files)): if not self.py_load_files[i].modul.__name__ in self.occ_plugins: pyfile = self.py_load_files.pop(i) @@ -76,7 +76,7 @@ class Thread_List(object): self.lock.release() return pyfile - def job_finish(self, pyfile): + def job_finished(self, pyfile): self.lock.acquire() self.occ_plugins.remove(pyfile.modul.__name__) |