mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 17:10:45 +00:00
Fix example
This commit is contained in:
1 parent
3b2b05769a
commit
c4b302b4e2
1 file changed
+1
-1
@@ -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)
|
||||||
Reference in new issue
Block a user