reduce complexity (flake8)
This commit is contained in:
parent
0477070faa
commit
131b2d68d8
@ -450,9 +450,7 @@ class Telegram(RPCHandler):
|
|||||||
]
|
]
|
||||||
|
|
||||||
if position_adjust:
|
if position_adjust:
|
||||||
max_buy_str = ''
|
max_buy_str = (f"/{max_entries + 1}" if (max_entries > 0) else "")
|
||||||
if max_entries > 0:
|
|
||||||
max_buy_str = f"/{max_entries + 1}"
|
|
||||||
lines.append("*Number of Buy(s):* `{num_entries}`" + max_buy_str)
|
lines.append("*Number of Buy(s):* `{num_entries}`" + max_buy_str)
|
||||||
|
|
||||||
lines.extend([
|
lines.extend([
|
||||||
|
Loading…
Reference in New Issue
Block a user