mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
FIx: type error
This commit is contained in:
parent
a209f1c1b5
commit
f2a3fb7e29
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue