From 3d34e6052db68ff482aa1aca65d512ddf40c310e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 22 May 2009 00:19:04 +0200 Subject: remove queue from thread list and implemented own method to get suited job for a thread --- Core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Core.py') 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() -- cgit v1.2.3