mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed the order of handlers in the Scene
This commit is contained in:
parent
e79ab53dce
commit
98af2256d1
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ class Scene:
|
|||
if callback_query_without_state is None:
|
||||
callback_query_without_state = parent_scene_config.callback_query_without_state
|
||||
|
||||
for name in vars(cls):
|
||||
for name in dir(cls):
|
||||
value = getattr(cls, name)
|
||||
if scene_handlers := getattr(value, "__aiogram_handler__", None):
|
||||
handlers.extend(scene_handlers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue