From 8e5c880c11000d284d8f26e2026f6386948c06d1 Mon Sep 17 00:00:00 2001 From: Kavinkumar <33546454+mkavinkumar1@users.noreply.github.com> Date: Thu, 24 Feb 2022 13:36:01 +0530 Subject: [PATCH] data_type fix --- freqtrade/rpc/telegram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index c6e0591fa..afeb6947e 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -564,11 +564,11 @@ class Telegram(RPCHandler): lines = message.split("\n") message = "\n".join(lines[:-1] + [lines[1]] + [lines[-1]]) self._send_msg(f"
{message}", parse_mode=ParseMode.HTML, - reload_able=True, callback_path=f"update_status_table {bool(show_order)}", + reload_able=True, callback_path=f"update_status_table {int(show_order)}", query=update.callback_query) except RPCException as e: self._send_msg(str(e), reload_able=True, - callback_path=f"update_status_table {bool(show_order)}", + callback_path=f"update_status_table {int(show_order)}", query=update.callback_query) @authorized_only