summaryrefslogtreecommitdiffstats
path: root/pyload/cli
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 18:07:46 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 18:07:46 +0200
commit3eec058b29cc37af8ff116926d4273b377c7471b (patch)
tree012864e3d7fce39e419dd70aa1cbabb347231b82 /pyload/cli
parent[config] Use get method instead dict access (diff)
downloadpyload-3eec058b29cc37af8ff116926d4273b377c7471b.tar.xz
Fix comments
Diffstat (limited to 'pyload/cli')
-rw-r--r--pyload/cli/Cli.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyload/cli/Cli.py b/pyload/cli/Cli.py
index 855ef47cc..4d6c3160d 100644
--- a/pyload/cli/Cli.py
+++ b/pyload/cli/Cli.py
@@ -81,8 +81,8 @@ class Cli(object):
inp = self.getch.impl()
if ord(inp) == 3:
os.system("clear")
- sys.exit() # ctrl + c
- elif ord(inp) == 13: #enter
+ sys.exit() #: ctrl + c
+ elif ord(inp) == 13: #: enter
try:
self.lock.acquire()
self.inputHandler.onEnter(self.input)
@@ -93,14 +93,14 @@ class Cli(object):
self.lock.release()
elif ord(inp) == 127:
- self.input = self.input[:-1] #backspace
+ self.input = self.input[:-1] #: backspace
try:
self.lock.acquire()
self.inputHandler.onBackSpace()
finally:
self.lock.release()
- elif ord(inp) == 27: #ugly symbol
+ elif ord(inp) == 27: #: ugly symbol
pass
else:
self.input += inp
@@ -143,7 +143,7 @@ class Cli(object):
def renderHeader(self, line):
""" prints download status """
#print updated information
- # print "\033[J" #clear screen
+ # print "\033[J" #: clear screen
# self.println(1, blue("py") + yellow("Load") + white(_(" Command Line Interface")))
# self.println(2, "")
# self.println(3, white(_("%s Downloads:") % (len(data))))