Updated Display.do_var_prompt to use to_native on prompt ( Fixes #30265 ) (#30285)

* Updated Display.prompt to use the normalized prompt message.
This commit is contained in:
Andrea Tartaglia 2017-09-13 17:58:28 +01:00 committed by Toshio Kuratomi
parent b38f746604
commit ea8af15dfe

View file

@ -279,7 +279,7 @@ class Display:
prompt_string = to_text(prompt_string)
if private:
return getpass.getpass(msg)
return getpass.getpass(prompt_string)
else:
return input(prompt_string)