fix regression introduced by 19a95dc0d6
This commit is contained in:
parent
ef3637f0c4
commit
a4c1acd2f0
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@ class ConsoleApplication(BaseApplication):
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
line = getpass.getpass(str(question))
|
line = getpass.getpass(str(question))
|
||||||
else:
|
else:
|
||||||
line = getpass.getpass(self.encoding)
|
line = getpass.getpass(question.encode(self.encoding))
|
||||||
else:
|
else:
|
||||||
self.stdout.write(question.encode(self.encoding))
|
self.stdout.write(question.encode(self.encoding))
|
||||||
self.stdout.flush()
|
self.stdout.flush()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue