From 6c572ff5cd34b119797261de3dd37e214def446a Mon Sep 17 00:00:00 2001 From: wesleybratt Date: Sun, 10 Sep 2017 20:05:42 -0700 Subject: [PATCH] update user_playlists_contents.py removed unused os import and unused variable 'top' --- examples/user_playlists_contents.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/user_playlists_contents.py b/examples/user_playlists_contents.py index e03ceec..d18c136 100644 --- a/examples/user_playlists_contents.py +++ b/examples/user_playlists_contents.py @@ -1,7 +1,6 @@ # shows a user's playlists (need to be authenticated via oauth) import sys -import os import spotipy import spotipy.util as util @@ -22,7 +21,6 @@ if __name__ == '__main__': token = util.prompt_for_user_token(username) if token: - top = 40 sp = spotipy.Spotify(auth=token) playlists = sp.user_playlists(username) for playlist in playlists['items']: