From e2f28991e6e5f3b7d429a3d50ad63ba6dd7f47c5 Mon Sep 17 00:00:00 2001 From: Gonzalo Matheu Date: Wed, 31 Mar 2021 21:51:15 -0300 Subject: [PATCH] telegram: Wrapping long line --- freqtrade/rpc/telegram.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index d263cb605..ae308a1cf 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -628,7 +628,9 @@ class Telegram(RPCHandler): self._send_msg(str(e)) else: whitelist = self._rpc._rpc_whitelist()['whitelist'] - pairs_keyboard: List[List[Union[str, KeyboardButton]]] = [[f'/forcebuy {pair}' for pair in whitelist]] + pairs_keyboard: List[List[Union[str, KeyboardButton]]] = [ + [f'/forcebuy {pair}' for pair in whitelist] + ] self._send_msg("Which pair?", keyboard=pairs_keyboard) @authorized_only