From fae4c3a4e3e45a7d9c803d509fb806347e9322da Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 22 Jul 2018 14:48:06 +0200 Subject: [PATCH] only init if stake_currency is set --- freqtrade/rpc/telegram.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 61f5863df..c01aa2701 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -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: """