1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-21 21:44:19 +00:00
This commit is contained in:
Steffo 2020-06-25 14:17:34 +02:00
parent 0a3db24c87
commit 3f05a1b7e2
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -1199,7 +1199,7 @@ class Worker(threading.Thread):
# Create the inline keyboard markup
inline_keyboard = telegram.InlineKeyboardMarkup(inline_keyboard_list)
# 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)
# Update the previously sent message
self.bot.edit_message_text(chat_id=self.chat.id, message_id=message.message_id, text=text,