From 6e49ed9f53a18f2f90bd3847fdea96a398b2b50f Mon Sep 17 00:00:00 2001 From: henry4682 Date: Tue, 10 Mar 2026 10:47:51 +0800 Subject: [PATCH] fix: linebot fix Handler.py import --- app/Linebot_handler/Handlers.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Linebot_handler/Handlers.py b/app/Linebot_handler/Handlers.py index f62242e..62d8227 100644 --- a/app/Linebot_handler/Handlers.py +++ b/app/Linebot_handler/Handlers.py @@ -1,4 +1,4 @@ -from Linebot_handler import captcha_state +from Linebot_handler import Captcha_state from Linebot_handler.Expense import ( EXPENSE_TEMPLATE, save_expense, @@ -41,10 +41,10 @@ def handle_captcha(text: str) -> bool: if ( text.isdigit() and len(text) == 5 - and captcha_state.captcha_event - and not captcha_state.captcha_event.is_set() + and Captcha_state.captcha_event + and not Captcha_state.captcha_event.is_set() ): - captcha_state.captcha_answer = text - captcha_state.captcha_event.set() + Captcha_state.captcha_answer = text + Captcha_state.captcha_event.set() return True return False \ No newline at end of file