mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-22 05:54:18 +00:00
Fixes #61
This commit is contained in:
parent
0a3db24c87
commit
3f05a1b7e2
1 changed files with 1 additions and 1 deletions
|
@ -1199,7 +1199,7 @@ class Worker(threading.Thread):
|
||||||
# Create the inline keyboard markup
|
# Create the inline keyboard markup
|
||||||
inline_keyboard = telegram.InlineKeyboardMarkup(inline_keyboard_list)
|
inline_keyboard = telegram.InlineKeyboardMarkup(inline_keyboard_list)
|
||||||
# Create the message text
|
# Create the message text
|
||||||
transactions_string = "\n".join([str(transaction) for transaction in transactions])
|
transactions_string = "\n".join([transaction.text(loc=self.loc) for transaction in transactions])
|
||||||
text = self.loc.get("transactions_page", page=page + 1, transactions=transactions_string)
|
text = self.loc.get("transactions_page", page=page + 1, transactions=transactions_string)
|
||||||
# Update the previously sent message
|
# Update the previously sent message
|
||||||
self.bot.edit_message_text(chat_id=self.chat.id, message_id=message.message_id, text=text,
|
self.bot.edit_message_text(chat_id=self.chat.id, message_id=message.message_id, text=text,
|
||||||
|
|
Loading…
Reference in a new issue