chore: remove pointless else
This commit is contained in:
@@ -246,7 +246,6 @@ def start_list_markets(args: dict[str, Any], pairs_only: bool = False) -> None:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise OperationalException(f"Cannot get markets. Reason: {e}") from e
|
raise OperationalException(f"Cannot get markets. Reason: {e}") from e
|
||||||
|
|
||||||
else:
|
|
||||||
summary_str = (
|
summary_str = (
|
||||||
(f"Exchange {exchange.name} has {len(pairs)} ")
|
(f"Exchange {exchange.name} has {len(pairs)} ")
|
||||||
+ ("active " if active_only else "")
|
+ ("active " if active_only else "")
|
||||||
|
|||||||
Reference in New Issue
Block a user