Merge pull request #303 from wdr1/patch-1

Update create_playlist.py
This commit is contained in:
Stéphane Bruckert authored and GitHub committed 2020-01-12 00:10:03 +00:00
commit 2be6763d0d
1 file changed
+2 -1
+2 -1
View File
@@ -17,7 +17,8 @@ else:
print("Usage: %s username playlist-name playlist-description" % (sys.argv[0],))
sys.exit()
token = util.prompt_for_user_token(username)
scope = "playlist-modify-public"
token = util.prompt_for_user_token(username, scope)
if token:
sp = spotipy.Spotify(auth=token)