summaryrefslogtreecommitdiffstats
path: root/Core.py
diff options
context:
space:
mode:
Diffstat (limited to 'Core.py')
-rw-r--r--Core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Core.py b/Core.py
index 1d1114878..1b19d17d9 100644
--- a/Core.py
+++ b/Core.py
@@ -179,9 +179,13 @@ class Core(object):
list = []
for pyfile in self.thread_list.py_downloading:
download = {}
+ download['id'] = pyfile.id
download['name'] = pyfile.status.filename
download['speed'] = pyfile.status.get_speed()
download['eta'] = pyfile.status.get_ETA()
+ download['kbleft'] = pyfile.status.kB_left()
+ download['size'] = pyfile.status.size()
+ download['status'] = pyfile.status.type
list.append(download)
return list