mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 17:23:53 +00:00
Fix example
This commit is contained in:
parent
3b2b05769a
commit
c4b302b4e2
@ -24,7 +24,7 @@ if token:
|
|||||||
sp = spotipy.Spotify(auth=token)
|
sp = spotipy.Spotify(auth=token)
|
||||||
sp.trace = False
|
sp.trace = False
|
||||||
playlists = sp.user_playlist_create(username, playlist_name,
|
playlists = sp.user_playlist_create(username, playlist_name,
|
||||||
playlist_description)
|
description=playlist_description)
|
||||||
pprint.pprint(playlists)
|
pprint.pprint(playlists)
|
||||||
else:
|
else:
|
||||||
print("Can't get token for", username)
|
print("Can't get token for", username)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user