summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 8fa737c53..b92d61114 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -250,6 +250,11 @@ class Core(object):
status = {}
status['pause'] = self.thread_list.pause
status['queue'] = len(self.file_list.files)
+ status['speed'] = 0
+
+ for pyfile in self.thread_list.py_downloading:
+ status['speed'] += pyfile.status.get_speed()
+
return status
def init_server(self):