Removed '.encode' lines, unessecary
This commit is contained in:
parent
080efd1102
commit
4c6a7a354d
@ -126,12 +126,6 @@ class Telegram(RPC):
|
|||||||
def send_msg(self, msg: Dict[str, Any]) -> None:
|
def send_msg(self, msg: Dict[str, Any]) -> None:
|
||||||
""" Send a message to telegram channel """
|
""" Send a message to telegram channel """
|
||||||
|
|
||||||
'🔵'.encode('ascii', 'namereplace')
|
|
||||||
'🚀'.encode('ascii', 'namereplace')
|
|
||||||
'✳'.encode('ascii', 'namereplace')
|
|
||||||
'❌'.encode('ascii', 'namereplace')
|
|
||||||
'⚠'.encode('ascii', 'namereplace')
|
|
||||||
|
|
||||||
if msg['type'] == RPCMessageType.BUY_NOTIFICATION:
|
if msg['type'] == RPCMessageType.BUY_NOTIFICATION:
|
||||||
if self._fiat_converter:
|
if self._fiat_converter:
|
||||||
msg['stake_amount_fiat'] = self._fiat_converter.convert_amount(
|
msg['stake_amount_fiat'] = self._fiat_converter.convert_amount(
|
||||||
|
Loading…
Reference in New Issue
Block a user