From d2b0d399db5324661fb59e864359e0c91fecc006 Mon Sep 17 00:00:00 2001 From: Nikita <78080842+NiKuma0@users.noreply.github.com> Date: Wed, 24 Aug 2022 11:06:27 +0300 Subject: [PATCH] Update aiogram/types/inline_keyboard.py Co-authored-by: Evgen Fil --- aiogram/types/inline_keyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/types/inline_keyboard.py b/aiogram/types/inline_keyboard.py index 848dfa67..1019d88f 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)) return self def insert(self, button):