mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 01:10:45 +00:00
* Retry for POST, PUT and DELETE, fixes #577 * Lint
This commit is contained in:
1 parent
275cd7ea89
commit
dd948c49d9
5 files changed
+25
-12
No files matched your search
@@ -11,9 +11,5 @@ def get_spotify_playlist(spotify_object, playlist_name, username):
|
||||
playlists = spotify_object.next(playlists)
|
||||
|
||||
|
||||
def create_spotify_playlist(spotify_object, playlist_name, username):
|
||||
return spotify_object.user_playlist_create(username, playlist_name)
|
||||
|
||||
|
||||
def get_as_base64(url):
|
||||
return base64.b64encode(requests.get(url).content).decode("utf-8")
|
||||
Reference in new issue
Block a user