mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-14 02:57:27 +00:00
Update user_playlists_contents.py
results was never used in the show_tracks method.
This commit is contained in:
parent
7499d8e511
commit
fc798aa684
@ -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