diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-16 17:12:36 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-16 17:12:36 +0200 |
commit | 52e67d8f0894c478b119ddb89aebd249518820e9 (patch) | |
tree | 502722032526ff79a11d8a307afbfa2654f4e56a /pyLoadCli.py | |
parent | Rapidshare fix (diff) | |
download | pyload-52e67d8f0894c478b119ddb89aebd249518820e9.tar.xz |
closed #276
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-x | pyLoadCli.py | 6 |
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 |