fix for prev

This commit is contained in:
mihalin 2022-04-11 16:59:42 +03:00
parent f5407d744d
commit cae7822ce3

View File

@ -24,7 +24,7 @@ _redis: ty.Optional[Redis] = None
def _get_translator(message: types.Message) -> ty.Callable:
return translators.get(message.from_user.locale, _)
return translators.get(message.from_user.locale.language, _)
async def init_redis():