mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-11 16:44:53 +00:00
FIx type error callback query
This commit is contained in:
parent
7fceeef32b
commit
53687a39bc
1 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ class CallbackQueryHandler(Handler):
|
|||
)
|
||||
|
||||
handler_does_match = (
|
||||
await self.filters(client, query) if callable(self.filters) else True
|
||||
self.filters(client, query) if callable(self.filters) else True
|
||||
)
|
||||
|
||||
data = self.compose_data_identifier(query)
|
||||
|
|
@ -142,4 +142,4 @@ class CallbackQueryHandler(Handler):
|
|||
client.remove_listener(listener)
|
||||
raise pyrogram.StopPropagation
|
||||
else:
|
||||
await self.original_callback(client, query, *args)
|
||||
await self.original_callback(client, query, *args)
|
||||
|
|
|
|||
Loading…
Reference in a new issue