diff --git a/aiogram/types/inline_keyboard.py b/aiogram/types/inline_keyboard.py index fd8f0e75..848dfa67 100644 --- a/aiogram/types/inline_keyboard.py +++ b/aiogram/types/inline_keyboard.py @@ -63,7 +63,7 @@ class InlineKeyboardMarkup(base.TelegramObject): :return: self :rtype: :obj:`types.InlineKeyboardMarkup` """ - self.inline_keyboard.append(list(buttons) or []) + self.inline_keyboard.append(list(buttons or [])) return self def insert(self, button):