Removed hard-coded decade

This commit is contained in:
Sumner Evans
2021-02-03 13:46:33 -07:00
parent be32d97896
commit 75061b321e
3 changed files with 13 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ from .api_objects import (
SearchResult,
Song,
)
from ..util import this_decade
class SongCacheStatus(Enum):
@@ -114,7 +115,7 @@ class AlbumSearchQuery:
GENRE = 8
type: Type
year_range: Tuple[int, int] = (2010, 2020)
year_range: Tuple[int, int] = this_decade()
genre: Genre = _Genre("Rock")
_strhash: Optional[str] = None