From a33f8dc82ad7100ac0f3ebf5cc69bedd74b73035 Mon Sep 17 00:00:00 2001 From: Paul Lamere Date: Fri, 22 Aug 2014 13:46:21 -0400 Subject: [PATCH] Example cleanup --- examples/add_a_saved_track.py | 1 - examples/contains_a_saved_track.py | 3 +-- examples/create_playlist.py | 2 -- examples/delete_a_saved_track.py | 1 - examples/remove_specific_tracks_from_playlist.py | 1 - examples/remove_tracks_from_playlist.py | 1 - examples/replace_tracks_in_playlist.py | 1 - examples/user_playlists.py | 1 - examples/user_starred_playlist.py | 1 - 9 files changed, 1 insertion(+), 11 deletions(-) diff --git a/examples/add_a_saved_track.py b/examples/add_a_saved_track.py index 037acaa..f403d82 100644 --- a/examples/add_a_saved_track.py +++ b/examples/add_a_saved_track.py @@ -5,7 +5,6 @@ import pprint import sys import spotipy -import spotipy.oauth2 as oauth2 import spotipy.util as util scope = 'user-library-modify' diff --git a/examples/contains_a_saved_track.py b/examples/contains_a_saved_track.py index dec3403..864e5c3 100644 --- a/examples/contains_a_saved_track.py +++ b/examples/contains_a_saved_track.py @@ -2,8 +2,7 @@ import pprint import sys import spotipy -import spotipy.oauth2 as oauth2 -import util +import spotipy.util as util scope = 'user-library-read' diff --git a/examples/create_playlist.py b/examples/create_playlist.py index f72e095..29881cc 100644 --- a/examples/create_playlist.py +++ b/examples/create_playlist.py @@ -6,8 +6,6 @@ import os import subprocess import spotipy - -import spotipy.oauth2 as oauth2 import spotipy.util as util diff --git a/examples/delete_a_saved_track.py b/examples/delete_a_saved_track.py index a00a03d..0087bb7 100644 --- a/examples/delete_a_saved_track.py +++ b/examples/delete_a_saved_track.py @@ -4,7 +4,6 @@ import pprint import sys import spotipy -import spotipy.oauth2 as oauth2 import spotipy.util as util scope = 'user-library-modify' diff --git a/examples/remove_specific_tracks_from_playlist.py b/examples/remove_specific_tracks_from_playlist.py index b7eb56d..70e6525 100644 --- a/examples/remove_specific_tracks_from_playlist.py +++ b/examples/remove_specific_tracks_from_playlist.py @@ -5,7 +5,6 @@ import pprint import sys import spotipy -import spotipy.oauth2 as oauth2 import spotipy.util as util if len(sys.argv) > 3: diff --git a/examples/remove_tracks_from_playlist.py b/examples/remove_tracks_from_playlist.py index 0390df4..a7ba3d8 100644 --- a/examples/remove_tracks_from_playlist.py +++ b/examples/remove_tracks_from_playlist.py @@ -5,7 +5,6 @@ import pprint import sys import spotipy -import spotipy.oauth2 as oauth2 import spotipy.util as util if len(sys.argv) > 3: diff --git a/examples/replace_tracks_in_playlist.py b/examples/replace_tracks_in_playlist.py index 2ba58e0..2d40178 100644 --- a/examples/replace_tracks_in_playlist.py +++ b/examples/replace_tracks_in_playlist.py @@ -5,7 +5,6 @@ import pprint import sys import spotipy -import spotipy.oauth2 as oauth2 import spotipy.util as util if len(sys.argv) > 3: diff --git a/examples/user_playlists.py b/examples/user_playlists.py index cfce9af..76bf71c 100644 --- a/examples/user_playlists.py +++ b/examples/user_playlists.py @@ -7,7 +7,6 @@ import subprocess import spotipy -import spotipy.oauth2 as oauth2 import spotipy.util as util diff --git a/examples/user_starred_playlist.py b/examples/user_starred_playlist.py index cba347c..28435e1 100644 --- a/examples/user_starred_playlist.py +++ b/examples/user_starred_playlist.py @@ -3,7 +3,6 @@ import sys import spotipy import spotipy.util as util -import spotipy.oauth2 as oauth2