chore: remove pointless else

This commit is contained in:
Matthias
2025-03-08 16:49:07 +01:00
parent 3371bad504
commit a9195c8ff9
-1
View File
@@ -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 "")