fix language setting menu
This commit is contained in:
1 parent
1ca90c633f
commit
61d55e186e
1 file changed
+1
-1
@@ -92,5 +92,5 @@ async def set_language(message: CallbackQuery, **kwargs):
|
||||
await db_session.commit()
|
||||
|
||||
i18n: I18n = kwargs["i18n"]
|
||||
with i18n.use_locale(user.lang):
|
||||
with i18n.use_locale(user.lang.value):
|
||||
await route_callback(message, **kwargs)
|
||||
Reference in new issue
Block a user