mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-14 02:57:27 +00:00
Merge pull request #205 from hvp/patch-1
Update user_playlists_contents.py
This commit is contained in:
commit
6aac91747f
@ -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']))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user