From 372a602378cc2904bc27e6e5c59a07e71c20f7ca Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 29 Oct 2022 18:49:25 +0200 Subject: [PATCH] Mypy gods are unhappy --- src/utils/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/config.py b/src/utils/config.py index 2963a35cb..9dc91b83a 100644 --- a/src/utils/config.py +++ b/src/utils/config.py @@ -1585,7 +1585,7 @@ def ask_questions_and_parse_answers( question = question_class(raw_question, context=context, hooks=hooks) if question.type == "button": if question.enabled is None or evaluate_simple_js_expression( # type: ignore - question.enabled, context=context + question.enabled, context=context # type: ignore ): # type: ignore continue else: