Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Commit

Permalink
Removed underscore from event keyboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roald87 committed Sep 29, 2019
1 parent 7a67978 commit 201969d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gracebot/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ def _make_keyboard(self):
for keys in chunked(self.visible_keys, self._columns):
row = []
for key in keys:
row.append(types.InlineKeyboardButton(key, callback_data=key))
row.append(
types.InlineKeyboardButton(key.replace("_", " "), callback_data=key)
)
self.row(*row)

self.row(*self._navigation_buttons())

0 comments on commit 201969d

Please sign in to comment.