From 52e67d8f0894c478b119ddb89aebd249518820e9 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 16 Apr 2011 17:12:36 +0200 Subject: closed #276 --- pyLoadCli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyLoadCli.py') 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=", " " * 2, "Password (default=ask for it)" + print " --pw=", " " * 2, "Password" print " -a, --address=", " "*3, "Specify address (default=127.0.0.1)" print " -p, --port", " " * 7, "Specify port (default=7227)" print -- cgit v1.2.3