Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
HitaloM committed Oct 25, 2024
1 parent f162c39 commit ce5f620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/korone/handlers/callback_query_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
class KoroneCallbackQueryHandler(CallbackQueryHandler, BaseHandler):
async def check(self, client: Client, callback: CallbackQuery) -> None:
if callback.message.chat is None:
return
return None

return await self._check_and_handle(client, callback)
2 changes: 1 addition & 1 deletion src/korone/handlers/message_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
class KoroneMessageHandler(MessageHandler, BaseHandler):
async def check(self, client: Client, message: Message) -> None:
if message.chat is None:
return
return None

return await self._check_and_handle(client, message)

0 comments on commit ce5f620

Please sign in to comment.