Remove unused test parameter

This commit is contained in:
Matthias
2021-12-30 17:34:45 +01:00
parent 2395988bf8
commit 3c4eda14b1
2 changed files with 6 additions and 6 deletions

View File

@@ -261,7 +261,8 @@ class Telegram(RPCHandler):
msg['enter_tag'] = msg['enter_tag'] if "enter_tag" in msg.keys() else None
msg['emoji'] = self._get_sell_emoji(msg)
msg['leverage_text'] = (f"*Leverage:* `{msg['leverage']:.1f}`\n"
if msg.get('leverage', None) and msg.get('leverage', 1.0) != 1.0 else "")
if msg.get('leverage', None) and msg.get('leverage', 1.0) != 1.0
else "")
# Check if all sell properties are available.
# This might not be the case if the message origin is triggered by /forcesell