mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Merge pull request #52 from kolayv/patch-4
disabled inspection for pycharm
This commit is contained in:
commit
69fa3021b9
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ class I18nMiddleware(BaseMiddleware):
|
||||||
else:
|
else:
|
||||||
return translator.ngettext(singular, plural, n)
|
return translator.ngettext(singular, plural, n)
|
||||||
|
|
||||||
|
# noinspection PyMethodMayBeStatic,PyUnusedLocal
|
||||||
async def get_user_locale(self, action: str, args: Tuple[Any]) -> str:
|
async def get_user_locale(self, action: str, args: Tuple[Any]) -> str:
|
||||||
"""
|
"""
|
||||||
User locale getter
|
User locale getter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue