Update user_playlists_contents.py

results was never used in the show_tracks method.
This commit is contained in:
Harrison Perry 2017-07-26 17:24:25 +01:00 committed by GitHub
parent 7499d8e511
commit fc798aa684

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']))