From 148e99ea6f271f0c2ba7745ba8e4c50c4fe1afe5 Mon Sep 17 00:00:00 2001 From: Vladless Date: Tue, 25 Feb 2025 20:19:41 +0300 Subject: [PATCH] minor improvements --- handlers/instructions/instructions.py | 2 +- handlers/payments/gift.c | 2 +- .../gift.cpython-312-x86_64-linux-gnu.so | Bin 288360 -> 288360 bytes main.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers/instructions/instructions.py b/handlers/instructions/instructions.py index 0f1ad70e..92775223 100644 --- a/handlers/instructions/instructions.py +++ b/handlers/instructions/instructions.py @@ -107,7 +107,7 @@ async def process_continue_tv(callback_query: CallbackQuery, session: Any): builder = InlineKeyboardBuilder() builder.row(InlineKeyboardButton(text="📖 Полная инструкция", url="https://vpn4tv.com/quick-guide.html")) - builder.row(InlineKeyboardButton(text="⬅️ Назад", callback_data=f"view_key|{key_name}")) + builder.row(InlineKeyboardButton(text="⬅️ Назад", callback_data=f"connect_tv|{key_name}")) builder.row(InlineKeyboardButton(text="👤 Личный кабинет", callback_data="profile")) await edit_or_send_message( diff --git a/handlers/payments/gift.c b/handlers/payments/gift.c index 082a0af0..07b5ad67 100644 --- a/handlers/payments/gift.c +++ b/handlers/payments/gift.c @@ -6581,7 +6581,7 @@ static PyObject *__pyx_gb_8handlers_8payments_4gift_11generator3(__pyx_Coroutine __Pyx_GOTREF(__pyx_t_9); if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_text, __pyx_t_9) < 0) __PYX_ERR(0, 169, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_callback_data, __pyx_n_u_profile) < 0) __PYX_ERR(0, 169, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_callback_data, __pyx_n_u_gifts) < 0) __PYX_ERR(0, 169, __pyx_L1_error) __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_11, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 169, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; diff --git a/handlers/payments/gift.cpython-312-x86_64-linux-gnu.so b/handlers/payments/gift.cpython-312-x86_64-linux-gnu.so index 5763946c214ca6664484e2fbb84127e0aa72ff77..d08a70a666818456df7278cd9710da94ac149371 100755 GIT binary patch delta 56 zcmaEHM)1WM!3{T=?W8wvt8WF0Vxy+HB2lnA+bkF#<8u_BTw-Jq=7t MK5wsTW`6ew0Of=k#Q*>R delta 56 zcmaEHM)1WM!3{T