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