diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-04 17:59:44 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-04 17:59:44 +0200 |
commit | b0cb9d0487cb19988db515aea52f22b92423ebaa (patch) | |
tree | 39e7ab111053d19be7d3e9e152be59ed4452690c /pyLoadCore.py | |
parent | some fixes (diff) | |
download | pyload-b0cb9d0487cb19988db515aea52f22b92423ebaa.tar.xz |
better output formatting, somefixes
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index bfc575b94..075d22a19 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -408,12 +408,15 @@ class ServerMethods(): download['name'] = pyfile.name download['speed'] = pyfile.getSpeed() download['eta'] = pyfile.getETA() - download['kbleft'] = pyfile.getKbLeft() + download['format_eta'] = pyfile.formatETA() + download['kbleft'] = pyfile.getBytesLeft() #holded for backward comp. + download['bleft'] = pyfile.getBytesLeft() download['size'] = pyfile.getSize() + download['format_size'] = pyfile.formatSize() download['percent'] = pyfile.getPercent() download['status'] = pyfile.status download['statusmsg'] = pyfile.m.statusMsg[pyfile.status] - download['wait'] = pyfile.formatWait() + download['format_wait'] = pyfile.formatWait() download['wait_until'] = pyfile.waitUntil download['package'] = pyfile.package().name downloads.append(download) |