run flake8

This commit is contained in:
kevinjulian 2021-07-07 22:10:22 +07:00
parent 00a1931f40
commit 8248d1acd1

View File

@ -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