fix flake8

This commit is contained in:
kevinjulian 2021-07-04 01:46:51 +07:00
parent 3d9f3eeb07
commit b72bbebccb

View File

@ -66,7 +66,9 @@ class AgeFilter(IPairList):
if not needed_pairs:
return pairlist
since_days = -(self._max_days_listed if self._max_days_listed else self._min_days_listed) - 1
since_days = -(
self._max_days_listed if self._max_days_listedelse else self._min_days_listed
) - 1
since_ms = int(arrow.utcnow()
.floor('day')
.shift(days=since_days)