summaryrefslogtreecommitdiffstats
path: root/Core.py
diff options
context:
space:
mode:
Diffstat (limited to 'Core.py')
-rw-r--r--Core.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/Core.py b/Core.py
index 04e05ae32..b7fe7d079 100644
--- a/Core.py
+++ b/Core.py
@@ -212,6 +212,18 @@ class Core(object):
else:
return False
+ def get_downloads(self): #only for debuging?!?
+ list = []
+ for pyfile in self.thread_list.py_downloading:
+ download = {}
+ download['name'] = pyfile.status.filename
+ download['speed'] = pyfile.status.get_speed()
+ download['eta'] = pyfile.status.get_ETA()
+ list.append(download)
+
+ return list
+
+
def _test_print_status(self):
if self.thread_list.py_downloading: