diff --git a/pomice/spotify/client.py b/pomice/spotify/client.py index f5d2113..608255d 100644 --- a/pomice/spotify/client.py +++ b/pomice/spotify/client.py @@ -94,13 +94,13 @@ class Client: cls = Playlist(data, []) else: urls = [REQUEST_URL.format(type="album", id=album['id'])+'/tracks' - for album in (data['items'] if not other else other['items'])] + for album in other['items']] cls = Artist(data, []) processes = [_fetch_async(url, count) - for url, count in enumerate(urls[:9] if not full else urls, start=1)] + for url, count in enumerate(urls, start=1)] try: await asyncio.gather(*processes)