mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
only init if stake_currency is set
This commit is contained in:
parent
2b297869a1
commit
fae4c3a4e3
|
@ -67,7 +67,8 @@ class Telegram(RPC):
|
|||
self._updater: Updater = None
|
||||
self._config = freqtrade.config
|
||||
self._init()
|
||||
self._fiat_converter = CryptoToFiatConverter()
|
||||
if self._config.get('stake_currency', None):
|
||||
self._fiat_converter = CryptoToFiatConverter()
|
||||
|
||||
def _init(self) -> None:
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user