carterwward commited on
Commit ·
fa2fdd0
1
Parent(s): 810046d
add token logging
Browse files- src/spotipy_utils.py +1 -0
src/spotipy_utils.py
CHANGED
|
@@ -119,6 +119,7 @@ def add_tracks_to_playlist(playlist_name:str, auth_url:str, tracks:List, request
|
|
| 119 |
if token:
|
| 120 |
user_client = spotipy.Spotify(token)
|
| 121 |
else:
|
|
|
|
| 122 |
return False
|
| 123 |
|
| 124 |
username = user_client.current_user()["id"]
|
|
|
|
| 119 |
if token:
|
| 120 |
user_client = spotipy.Spotify(token)
|
| 121 |
else:
|
| 122 |
+
print("bad token")
|
| 123 |
return False
|
| 124 |
|
| 125 |
username = user_client.current_user()["id"]
|