flake8 beautify

This commit is contained in:
Andreas Brunner 2021-01-17 21:26:55 +01:00
parent d21eff0d52
commit eb95d970e9

View File

@ -278,7 +278,8 @@ class Telegram(RPCHandler):
try:
# Check if there's at least one numerical ID provided. If so, try to get only these trades.
# Check if there's at least one numerical ID provided.
# If so, try to get only these trades.
trade_ids = None
if context.args and len(context.args) > 0:
trade_ids = [i for i in context.args if i.isnumeric()]