fix short desc not appear

This commit is contained in:
kevinjulian 2021-07-08 13:42:52 +07:00
parent 8248d1acd1
commit 863391122f

View File

@ -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]:
""" """