mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: explicit None return + typing
This commit is contained in:
parent
47fce3cfd5
commit
fb6c687117
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ class I18nMiddleware(BaseMiddleware):
|
|||
*_, data = args
|
||||
language = data['locale'] = locale.language
|
||||
return language
|
||||
return None
|
||||
|
||||
async def trigger(self, action, args):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue