summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-08 12:10:22 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-08 12:10:22 +0200
commitd5034d4f8929221f021b61a82e893cb5d53c3676 (patch)
tree5ddf19b63077a39f069b3b642f55647fdcc90f20 /pyLoadCli.py
parentbasic event manager (diff)
downloadpyload-d5034d4f8929221f021b61a82e893cb5d53c3676.tar.xz
calculate queue count, db improvements
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 438be61aa..db5952104 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -188,13 +188,13 @@ class Cli:
line += 1
status = self.client.statusServer()
if status.pause:
- println(line,
- _("Status: ") + red("paused") + _(" total Speed: ") + red(formatSize(speed) + "/s") + _(
- " Files in queue: ") + red(status.queue))
+ paused = _("Status: ") + red("paused")
else:
- println(line,
- _("Status: ") + red("running") + _(" total Speed: ") + red(formatSize(speed) + "/s") + _(
- " Files in queue: ") + red(status.queue))
+ paused = _("Status: ") + red("running")
+
+ println(line,
+ paused + _(" total Speed: ") + red(formatSize(speed) + "/s") + _(
+ " Files in queue: ") + red(status.queue) + _(" Total: ") + red(status.total))
return line + 1