Fix removing vars from variables_to_prompt
This commit is contained in:
parent
db4bd80a94
commit
cc7d5e4de6
|
@ -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", {}),
|
||||||
|
|
Loading…
Reference in New Issue