telegram: Wrapping long line
This commit is contained in:
parent
271e4500d9
commit
e2f28991e6
@ -628,7 +628,9 @@ class Telegram(RPCHandler):
|
|||||||
self._send_msg(str(e))
|
self._send_msg(str(e))
|
||||||
else:
|
else:
|
||||||
whitelist = self._rpc._rpc_whitelist()['whitelist']
|
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)
|
self._send_msg("Which pair?", keyboard=pairs_keyboard)
|
||||||
|
|
||||||
@authorized_only
|
@authorized_only
|
||||||
|
Loading…
Reference in New Issue
Block a user