From 7dc9abffc6477e8ea78157580c6c007fc63ba0b1 Mon Sep 17 00:00:00 2001 From: SetazeR Date: Tue, 16 Apr 2019 07:38:50 +0700 Subject: [PATCH] remove unnecessary f-strings --- examples/inline_keyboard_example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/inline_keyboard_example.py b/examples/inline_keyboard_example.py index 0618eee..f2b3fce 100644 --- a/examples/inline_keyboard_example.py +++ b/examples/inline_keyboard_example.py @@ -9,8 +9,8 @@ bot = telebot.TeleBot(TELEGRAM_TOKEN) def gen_markup(): markup = InlineKeyboardMarkup() markup.row_width = 2 - markup.add(InlineKeyboardButton("Yes", callback_data=f"cb_yes"), - InlineKeyboardButton("No", callback_data=f"cb_no")) + markup.add(InlineKeyboardButton("Yes", callback_data="cb_yes"), + InlineKeyboardButton("No", callback_data="cb_no")) return markup @bot.callback_query_handler(func=lambda call: True)