Skip to content

Commit

Permalink
🚨 Fix F811 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRomanovizc committed Aug 22, 2023
1 parent 2c830a4 commit 532af46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions handlers/users/buy_unban.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


@dp.callback_query_handler(text="unban")
async def get_payment(call: CallbackQuery) -> None:
async def get_payment_menu(call: CallbackQuery) -> None:
await call.message.edit_text(
text=_(
"<b>💳 Сейчас вам нужно выбрать способ оплаты</b>\n\n"
Expand Down Expand Up @@ -66,7 +66,8 @@ async def check_payment(call: CallbackQuery, state: FSMContext) -> None:
else:
await call.message.edit_text(
text=_(
"Оплата не прошла! Подождите минут 10, а затем еще раз попробуйте нажать кнопку ниже"
"Оплата не прошла! Подождите минут 10,"
" а затем еще раз попробуйте нажать кнопку ниже"
),
reply_markup=await yoomoney_keyboard(url=data.get("form"))
)

0 comments on commit 532af46

Please sign in to comment.