Update some formatting issues

This commit is contained in:
Matthias 2022-10-04 20:23:20 +02:00
parent 02e238a944
commit b7f26e4f96

View File

@ -1882,10 +1882,8 @@ class Exchange:
input_coroutines = [] input_coroutines = []
cached_pairs = [] cached_pairs = []
for pair, timeframe, candle_type in set(pair_list): for pair, timeframe, candle_type in set(pair_list):
if ( if (timeframe not in self.timeframes
timeframe not in self.timeframes and candle_type in (CandleType.SPOT, CandleType.FUTURES)):
and candle_type in (CandleType.SPOT, CandleType.FUTURES)
):
logger.warning( logger.warning(
f"Cannot download ({pair}, {timeframe}) combination as this timeframe is " f"Cannot download ({pair}, {timeframe}) combination as this timeframe is "
f"not available on {self.name}. Available timeframes are " f"not available on {self.name}. Available timeframes are "