From 8842e0d161fec054bfec2f2ec4d3e2455dd3a9ef Mon Sep 17 00:00:00 2001 From: "A. Schueler" Date: Mon, 17 May 2021 12:05:25 +0200 Subject: [PATCH] Fix flake8 error in fiat_convert --- freqtrade/rpc/fiat_convert.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/rpc/fiat_convert.py b/freqtrade/rpc/fiat_convert.py index 908f7adf0..2088b0258 100644 --- a/freqtrade/rpc/fiat_convert.py +++ b/freqtrade/rpc/fiat_convert.py @@ -54,7 +54,8 @@ class CryptoToFiatConverter: self._cryptomap = {x['symbol']: x['id'] for x in coinlistings} except RequestException as request_exception: if "429" in str(request_exception): - logger.warning("Too many requests for Coingecko API, backing off and trying again later.") + logger.warning( + "Too many requests for Coingecko API, backing off and trying again later.") # Set backoff timestamp to 60 seconds in the future self._backoff = datetime.datetime.now().timestamp() + 60 except (Exception) as exception: