mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
improve /version
output formatting
This commit is contained in:
parent
c4a0910908
commit
1d9933412a
|
@ -1636,7 +1636,7 @@ class Telegram(RPCHandler):
|
||||||
strategy_version = self._rpc._freqtrade.strategy.version()
|
strategy_version = self._rpc._freqtrade.strategy.version()
|
||||||
version_string = f'*Version:* `{__version__}`'
|
version_string = f'*Version:* `{__version__}`'
|
||||||
if strategy_version is not None:
|
if strategy_version is not None:
|
||||||
version_string += f', *Strategy version: * `{strategy_version}`'
|
version_string += f'\n*Strategy version: * `{strategy_version}`'
|
||||||
|
|
||||||
await self._send_msg(version_string)
|
await self._send_msg(version_string)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user