summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-21 21:14:30 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-21 21:14:30 +0200
commit03a12260603d081e1bc089d09804bbca960ba751 (patch)
tree79c1bac3dbb8ea77f4186f3b1477858bb8d12da8 /pyLoadCli.py
parentremoved tempfile, win fixes (diff)
downloadpyload-03a12260603d081e1bc089d09804bbca960ba751.tar.xz
fixes
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py4
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