From 3f05a1b7e231564ca5103b96e29c89e2256e8e46 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 25 Jun 2020 14:17:34 +0200 Subject: [PATCH] Fixes #61 --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 468b4f6..ca6128b 100644 --- a/worker.py +++ b/worker.py @@ -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,