summaryrefslogtreecommitdiffstats
path: root/Core.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-22 00:19:04 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-22 00:19:04 +0200
commit3d34e6052db68ff482aa1aca65d512ddf40c310e (patch)
tree3b96511d5f10a9620f0f565eafe51eb398365365 /Core.py
parentwas wir nicht brauchen auskommentiert, host überprüfung verlagert (diff)
downloadpyload-3d34e6052db68ff482aa1aca65d512ddf40c310e.tar.xz
remove queue from thread list and implemented own method to get suited
job for a thread
Diffstat (limited to 'Core.py')
-rw-r--r--Core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core.py b/Core.py
index 187c9f9f6..8eba8ad88 100644
--- a/Core.py
+++ b/Core.py
@@ -223,9 +223,9 @@ class Core(object):
return True
def _test_print_status(self):
- if len(self.thread_list.py_load_files)>0:
+ if len(self.thread_list.py_downloading)>0:
- for pyfile in self.thread_list.py_load_files:
+ for pyfile in self.thread_list.py_downloading:
if pyfile.status.type == 'downloading':
print "Speed" ,pyfile.status.get_speed()
print "ETA" , pyfile.status.get_ETA()