remove duplicate send_msg invocation
This commit is contained in:
parent
7eaeb8d146
commit
a559e22f16
@ -138,7 +138,6 @@ class Telegram(RPC):
|
|||||||
message += '` ({gain}: {profit_amount:.8f} {stake_currency}`' \
|
message += '` ({gain}: {profit_amount:.8f} {stake_currency}`' \
|
||||||
'` / {profit_fiat:.3f} {fiat_currency})`'.format(**msg)
|
'` / {profit_fiat:.3f} {fiat_currency})`'.format(**msg)
|
||||||
|
|
||||||
self._send_msg(message)
|
|
||||||
elif msg['type'] == RPCMessageType.STATUS_NOTIFICATION:
|
elif msg['type'] == RPCMessageType.STATUS_NOTIFICATION:
|
||||||
message = '*Status:* `{status}`'.format(**msg)
|
message = '*Status:* `{status}`'.format(**msg)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user