From 8248d1acd19c1b229fecd894d480bbd320912fc3 Mon Sep 17 00:00:00 2001 From: kevinjulian Date: Wed, 7 Jul 2021 22:10:22 +0700 Subject: [PATCH] run flake8 --- freqtrade/plugins/pairlist/AgeFilter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/plugins/pairlist/AgeFilter.py b/freqtrade/plugins/pairlist/AgeFilter.py index 810a87082..133285884 100644 --- a/freqtrade/plugins/pairlist/AgeFilter.py +++ b/freqtrade/plugins/pairlist/AgeFilter.py @@ -102,7 +102,8 @@ class AgeFilter(IPairList): if daily_candles is not None: if len(daily_candles) >= self._min_days_listed and \ - (True if not self._max_days_listed else len(daily_candles) <= self._max_days_listed): + (True if not self._max_days_listed + else len(daily_candles) <= self._max_days_listed): # We have fetched at least the minimum required number of daily candles # Add to cache, store the time we last checked this symbol self._symbolsChecked[pair] = arrow.utcnow().int_timestamp * 1000