mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed compatibility
This commit is contained in:
parent
1e43dfc486
commit
c250413d55
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ class Command(Filter):
|
|||
return command # noqa: RET504
|
||||
|
||||
def do_magic(self, command: CommandObject) -> Any:
|
||||
if not self.magic:
|
||||
if self.magic is None:
|
||||
return command
|
||||
result = self.magic.resolve(command)
|
||||
if not result:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue