mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 09:22:03 +00:00
Typo.
This commit is contained in:
parent
13665f7703
commit
15216304e2
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ async def cancel_handler(message: types.Message):
|
|||
Allow to cancel any action
|
||||
"""
|
||||
with dp.current_state(chat=message.chat.id, user=message.from_user.id) as state:
|
||||
# Ignore command is user is not in any (defined) state
|
||||
# Ignore command if user is not in any (defined) state
|
||||
if await state.get_state() is None:
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue