Merge pull request #52 from sharkone/patch-1

Fixed artist_albums.py
This commit is contained in:
Paul Lamere 2015-05-26 19:16:06 -04:00
commit c075f80470

View File

@ -12,7 +12,7 @@ def get_artist(name):
else: else:
return None return None
def show_artist_albums(id): def show_artist_albums(artist):
albums = [] albums = []
results = sp.artist_albums(artist['id'], album_type='album') results = sp.artist_albums(artist['id'], album_type='album')
albums.extend(results['items']) albums.extend(results['items'])