Fix Artist and Label downloads

This commit is contained in:
nathom 2021-07-24 11:01:37 -07:00
parent 85cb6660ae
commit 0dc6af7ecd

View file

@ -1778,6 +1778,8 @@ class Artist(Tracklist, Media):
>>> artist.download() >>> artist.download()
""" """
downloaded_ids: set = set()
def __init__(self, client: Client, **kwargs): def __init__(self, client: Client, **kwargs):
"""Create a new Artist object. """Create a new Artist object.
@ -1787,7 +1789,6 @@ class Artist(Tracklist, Media):
:param kwargs: :param kwargs:
""" """
self.client = client self.client = client
self.downloaded_ids: set = set()
for k, v in kwargs.items(): for k, v in kwargs.items():
setattr(self, k, v) setattr(self, k, v)