summaryrefslogtreecommitdiffstats
path: root/pyload/cli/Cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/cli/Cli.py')
-rw-r--r--pyload/cli/Cli.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/cli/Cli.py b/pyload/cli/Cli.py
index cd3252220..fc5236ff9 100644
--- a/pyload/cli/Cli.py
+++ b/pyload/cli/Cli.py
@@ -55,8 +55,8 @@ class Cli(object):
self.lock = Lock()
# processor funcions, these will be changed dynamically depending on control flow
- self.headerHandler = self # the download status
- self.bodyHandler = self # the menu section
+ self.headerHandler = self #: the download status
+ self.bodyHandler = self #: the menu section
self.inputHandler = self
os.system("clear")
@@ -158,7 +158,7 @@ class Cli(object):
line += 1
for download in data:
- if download.status == 12: # downloading
+ if download.status == 12: #: downloading
percent = download.percent
z = percent / 4
speed += download.speed
@@ -265,7 +265,7 @@ class Cli(object):
print "No downloads running."
for download in files:
- if download.status == 12: # downloading
+ if download.status == 12: #: downloading
print print_status(download)
print "\tDownloading: %s @ %s/s\t %s (%s%%)" % (
download.format_eta, formatSize(download.speed), formatSize(download.size - download.bleft),