mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bump magic-filter to 1.0.10 (#1221)
* Bump magic-filter to 1.0.10 * Added changelog * Fixed compatibility
This commit is contained in:
parent
7f472eff42
commit
710c7669c4
3 changed files with 6 additions and 2 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