From b0cb9d0487cb19988db515aea52f22b92423ebaa Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 4 Aug 2010 17:59:44 +0200 Subject: better output formatting, somefixes --- pyLoadCli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyLoadCli.py') diff --git a/pyLoadCli.py b/pyLoadCli.py index 8aee9d8c7..b08a56f28 100755 --- a/pyLoadCli.py +++ b/pyLoadCli.py @@ -136,7 +136,7 @@ class pyLoadCli: speed += download['speed'] self.println(line, cyan(download["name"])) line += 1 - self.println(line, blue("[") + yellow(z * "#" + (25-z) * " ") + blue("] ") + green(conv(percent) + "%") + _(" Speed: ") + green(conv(int(download['speed'])) + " kb/s") + _(" Size: ") + green(self.format_size(download['size'])) + _(" Finished in: ") + green(self.format_time(download['eta'])) + _(" ID: ") + green(conv(download['id']))) + 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": self.println(line, cyan(download["name"])) -- cgit v1.2.3