fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 22:35:24 +05:00
parent c190651e91
commit d98021f79a

View File

@@ -31,7 +31,7 @@ async def on_startup(dispatcher):
async def send_welcome(message: Message):
await message.reply("Привет! Я твой личный Pomodoro-бот. Выбирай действие:", reply_markup=menu_kb)
@dispatcher.callback_query_handler(Text(equals=["pomodoro", "shortbreak", "longbreak", "stop"]))
@dispatcher.callback_query_handler(lambda call: call.data in ["pomodoro", "shortbreak", "longbreak", "stop"])
async def handle_callback(call: types.CallbackQuery):
timer_manager = dispatcher['timer_manager']