harshil21 ยท GitHub

Conversation

@harshil21

Copy link Copy Markdown

Member

If users don't input the keyboard in the correct format, i.e a list of lists, then the resulting error is hard to debug and its not obvious what went wrong.

inspired from #2652

Resolved issues in telegram/replymarkup.py via DeepSource Autofix

Bibo-Joshi

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿ‘

can you call check_keyboard_type either at the end of __init__ for both or at the start of __init__ for both?

Bibo-Joshi

@Bibo-Joshi

@Bibo-Joshi

Bibo-Joshi pushed a commit that referenced this pull request

Sep 15, 2021

2 participants

@harshil21 @Bibo-Joshi

Read the original on github.com โ†—