Merge pull request #205 from hvp/patch-1

Update user_playlists_contents.py
This commit is contained in:
Paul Lamere 2017-09-17 11:55:11 -04:00 committed by GitHub
commit 6aac91747f

View File

@ -6,7 +6,7 @@ import spotipy
import spotipy.util as util
def show_tracks(results):
for i, item in enumerate(tracks['items']):
for i, item in enumerate(results['items']):
track = item['track']
print(" %d %32.32s %s" % (i, track['artists'][0]['name'], track['name']))