Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ scope= ['user-library-read',
|
|
| 151 |
'user-top-read']
|
| 152 |
|
| 153 |
|
| 154 |
-
def spotify_auth(code=None):
|
| 155 |
auth_manager = SpotifyOAuth(client_id=client_id,
|
| 156 |
client_secret=client_secret,
|
| 157 |
redirect_uri=redirect_uri,
|
|
|
|
| 151 |
'user-top-read']
|
| 152 |
|
| 153 |
|
| 154 |
+
def spotify_auth(client_id, client_secret, code=None):
|
| 155 |
auth_manager = SpotifyOAuth(client_id=client_id,
|
| 156 |
client_secret=client_secret,
|
| 157 |
redirect_uri=redirect_uri,
|