Fixes a small example error

This commit is contained in:
Hugh Rawlinson 2016-05-08 11:01:05 +01:00
parent b412de8d75
commit a1b3afabf4

View File

@ -202,7 +202,7 @@ Shows the contents of every playlist owned by a user::
import spotipy
import spotipy.util as util
def show_tracks(results):
def show_tracks(tracks):
for i, item in enumerate(tracks['items']):
track = item['track']
print " %d %32.32s %s" % (i, track['artists'][0]['name'],