diff --git a/src/utils/config.py b/src/utils/config.py index 7411b79de..36f7d986d 100644 --- a/src/utils/config.py +++ b/src/utils/config.py @@ -1547,8 +1547,8 @@ def ask_questions_and_parse_answers( question = question_class(raw_question, context=context, hooks=hooks) if question.type == "button": if ( - not question.enabled - or evaluate_simple_js_expression(question.enabled, context=context) + not question.enabled # type: ignore + or evaluate_simple_js_expression(question.enabled, context=context) # type: ignore ): continue else: