Fixed language code typo

This commit is contained in:
Profitroll 2023-02-17 23:18:54 +01:00
parent fcd59b7aca
commit 7918049f49
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ from modules.utils import locale
# Callback empty ===============================================================================================================
@app.on_callback_query(filters.regex("nothing"))
async def callback_query_nothing(app: PosterClient, clb: CallbackQuery):
await clb.answer(text=locale("nothing", "callback", locale=clb.from_user))
await clb.answer(text=locale("nothing", "callback", locale=clb.from_user.language_code))
# ==============================================================================================================================