summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-04-16 17:12:36 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-04-16 17:12:36 +0200
commit52e67d8f0894c478b119ddb89aebd249518820e9 (patch)
tree502722032526ff79a11d8a307afbfa2654f4e56a /pyLoadCli.py
parentRapidshare fix (diff)
downloadpyload-52e67d8f0894c478b119ddb89aebd249518820e9.tar.xz
closed #276
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 917182b37..094b16006 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -35,7 +35,7 @@ from codecs import getwriter
sys.stdout = getwriter("utf8")(sys.stdout, errors="replace")
from module import InitHomeDir
-from module.utils import formatSize
+from module.utils import formatSize, decode
from module.ConfigParser import ConfigParser
from module.remote.thriftbackend.ThriftClient import ThriftClient, NoConnection, NoSSL, WrongLogin, PackageDoesNotExists, ConnectionClosed
@@ -103,7 +103,7 @@ class Cli:
str((self.inputline if self.inputline > 0 else self.inputline + 1) - 1) + ";0H"
def print_input(self):
- self.println(self.inputline, white(" Input: ") + self.input)
+ self.println(self.inputline, white(" Input: ") + decode(self.input))
self.println(self.inputline + 1, "")
self.println(self.inputline + 2, "")
self.println(self.inputline + 3, "")
@@ -514,7 +514,7 @@ def print_help():
print " -i, --interactive", " Start in interactive mode"
print
print " -u, --username=", " " * 2, "Specify Username"
- print " --pw=<password>", " " * 2, "Password (default=ask for it)"
+ print " --pw=<password>", " " * 2, "Password"
print " -a, --address=", " "*3, "Specify address (default=127.0.0.1)"
print " -p, --port", " " * 7, "Specify port (default=7227)"
print