Fix removing vars from variables_to_prompt

This commit is contained in:
Ceda EI 2024-04-10 02:19:56 +05:30
parent db4bd80a94
commit cc7d5e4de6
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def _login_out(ctx: click.Context, login: bool):
variables_to_prompt.update( variables_to_prompt.update(
module.template_variables()["login" if login else "logout"] module.template_variables()["login" if login else "logout"]
) )
variables_to_prompt.remove("vars") variables_to_prompt -= {"vars"}
responses: dict[str, Any] = { responses: dict[str, Any] = {
"vars": ctx.obj.get("vars", {}), "vars": ctx.obj.get("vars", {}),