diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-08-19 17:13:35 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-08-19 17:13:35 +0200 |
commit | 0c8dc650e52323f741bdaf50a864f1ebd819e6c6 (patch) | |
tree | 204b85ba411fde2b8da79493c75002253f3ee628 /pyLoadCore.py | |
parent | some webinterface functions (diff) | |
download | pyload-0c8dc650e52323f741bdaf50a864f1ebd819e6c6.tar.xz |
webinterface statusbar
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 5 |
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): |