mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
remove unnecessary f-strings
This commit is contained in:
parent
31dbe30489
commit
7dc9abffc6
@ -9,8 +9,8 @@ bot = telebot.TeleBot(TELEGRAM_TOKEN)
|
|||||||
def gen_markup():
|
def gen_markup():
|
||||||
markup = InlineKeyboardMarkup()
|
markup = InlineKeyboardMarkup()
|
||||||
markup.row_width = 2
|
markup.row_width = 2
|
||||||
markup.add(InlineKeyboardButton("Yes", callback_data=f"cb_yes"),
|
markup.add(InlineKeyboardButton("Yes", callback_data="cb_yes"),
|
||||||
InlineKeyboardButton("No", callback_data=f"cb_no"))
|
InlineKeyboardButton("No", callback_data="cb_no"))
|
||||||
return markup
|
return markup
|
||||||
|
|
||||||
@bot.callback_query_handler(func=lambda call: True)
|
@bot.callback_query_handler(func=lambda call: True)
|
||||||
|
Loading…
Reference in New Issue
Block a user