1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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) 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)