summaryrefslogtreecommitdiffstats
path: root/Core.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-12 15:36:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-12 15:36:48 +0200
commit979daf6a4daae605b2a39e916c16015437fac98d (patch)
tree7f40809a692548717c778ec723fd1fced09cf539 /Core.py
parentutf-8 encodung, correcting file header (diff)
downloadpyload-979daf6a4daae605b2a39e916c16015437fac98d.tar.xz
little fixes
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