mirror of
https://github.com/c0de-archive/spotipy.git
synced 2025-01-08 15:42:48 +00:00
Merge pull request #93 from hughrawlinson/patch-1
Fixes a small example error
This commit is contained in:
commit
1e8188206a
@ -202,7 +202,7 @@ Shows the contents of every playlist owned by a user::
|
|||||||
import spotipy
|
import spotipy
|
||||||
import spotipy.util as util
|
import spotipy.util as util
|
||||||
|
|
||||||
def show_tracks(results):
|
def show_tracks(tracks):
|
||||||
for i, item in enumerate(tracks['items']):
|
for i, item in enumerate(tracks['items']):
|
||||||
track = item['track']
|
track = item['track']
|
||||||
print " %d %32.32s %s" % (i, track['artists'][0]['name'],
|
print " %d %32.32s %s" % (i, track['artists'][0]['name'],
|
||||||
|
Loading…
Reference in New Issue
Block a user