summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-06-21 22:18:43 +0200
committerGravatar spoob <spoob@gmx.de> 2009-06-21 22:18:43 +0200
commit265af82f74fdab683d50791b54c82c210a6397b4 (patch)
tree3b9c67397c4260a43277f2f488c292df8201930f /pyLoadCli.py
parentplugin system changings (diff)
downloadpyload-265af82f74fdab683d50791b54c82c210a6397b4.tar.xz
Added Shareonline.biz captcha
Diffstat (limited to 'pyLoadCli.py')
-rw-r--r--pyLoadCli.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 0e9f3df65..0d721136b 100644
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -88,9 +88,9 @@ class pyLoadCli:
percent = download["percent"]
z = percent / 4
speed += download['speed']
- self.println(line, cyan(download["name"]))
+ self.println(line, blue(download["name"]))
line += 1
- self.println(line, blue("[") + yellow(z * "#" + (25-z) * " ") + blue("] ") + green(str(percent)+"%")+" DL: "+green(str(int(download['speed'])))+" kb/s ETA: " + green(self.format_time(download['eta'])))
+ self.println(line, blue("[") + yellow(z * "#" + (25-z) * " ") + blue("] ") + green(str(percent)+"%") + " Speed: " + green(str(int(download['speed'])) + " kb/s") +" Finished in: " + green(self.format_time(download['eta'])))
line += 1
if download["status"] == "waiting":
self.println(line, download["name"])
@@ -99,7 +99,7 @@ class pyLoadCli:
line += 1
self.println(line, "")
line += 1
- self.println(line, "Status: "+red("paused") if obj.status['pause'] else "Status: "+red("running") + " Speed: "+ red(str(int(speed))+" kb/s") + " Files in queue: "+ red(str(obj.status["queue"])) )
+ self.println(line, "Status: " + red("paused") if obj.status['pause'] else "Status: " + red("running") + " total Speed: " + red(str(int(speed)) + " kb/s") + " Files in queue: " + red(str(obj.status["queue"])))
line += 1
self.println(line, "")
line += 1