diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-21 21:14:30 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-21 21:14:30 +0200 |
commit | 03a12260603d081e1bc089d09804bbca960ba751 (patch) | |
tree | 79c1bac3dbb8ea77f4186f3b1477858bb8d12da8 /pyLoadCli.py | |
parent | removed tempfile, win fixes (diff) | |
download | pyload-03a12260603d081e1bc089d09804bbca960ba751.tar.xz |
fixes
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-x | pyLoadCli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py index 4e97489c8..a9731c9b5 100755 --- a/pyLoadCli.py +++ b/pyLoadCli.py @@ -142,10 +142,10 @@ class pyLoadCli: line += 1 self.println(line, blue("[") + yellow(z * "#" + (25-z) * " ") + blue("] ") + green(conv(percent) + "%") + _(" Speed: ") + green(conv(int(download['speed'])) + " kb/s") + _(" Size: ") + green(download['format_size']) + _(" Finished in: ") + green(download['format_eta']) + _(" ID: ") + green(conv(download['id']))) line += 1 - if download["status"] == "waiting": + if download["status"] == 5: self.println(line, cyan(download["name"])) line += 1 - self.println(line, _("waiting: ") + green(self.format_time(download["wait_until"]- time.time()))) + self.println(line, _("waiting: ") + green(download["format_wait"]) ) line += 1 self.println(line, "") line += 1 |