Merge pull request #5252 from kevinjulian/agefilter-max-days-listed
Fix Agefilter cannot appear on startup messages
This commit is contained in:
commit
d96d6024f4
@ -58,10 +58,10 @@ class AgeFilter(IPairList):
|
|||||||
return (
|
return (
|
||||||
f"{self.name} - Filtering pairs with age less than "
|
f"{self.name} - Filtering pairs with age less than "
|
||||||
f"{self._min_days_listed} {plural(self._min_days_listed, 'day')}"
|
f"{self._min_days_listed} {plural(self._min_days_listed, 'day')}"
|
||||||
) + (
|
) + ((
|
||||||
" or more than "
|
" or more than "
|
||||||
f"{self._max_days_listed} {plural(self._max_days_listed, 'day')}"
|
f"{self._max_days_listed} {plural(self._max_days_listed, 'day')}"
|
||||||
) if self._max_days_listed else ''
|
) if self._max_days_listed else '')
|
||||||
|
|
||||||
def filter_pairlist(self, pairlist: List[str], tickers: Dict) -> List[str]:
|
def filter_pairlist(self, pairlist: List[str], tickers: Dict) -> List[str]:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user