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

* Updated Display.prompt to use the normalized prompt message.

(cherry picked from commit ea8af15dfe)
pull/30299/head
Andrea Tartaglia 7 years ago committed by Toshio Kuratomi
parent 6e766c032a
commit 91f4925de2

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

Loading…
Cancel
Save