diff options
| author | Fuwn <[email protected]> | 2023-01-02 20:44:58 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-01-02 20:44:58 -0800 |
| commit | 88684ac3bb3b182fe5b0a6b7785cf8b291e25dfe (patch) | |
| tree | 774506a0042e935fa4d907fe4f7502e187a90bbf | |
| parent | fix(spotify.py): debug (diff) | |
| download | rubys_song_skipper-88684ac3bb3b182fe5b0a6b7785cf8b291e25dfe.tar.xz rubys_song_skipper-88684ac3bb3b182fe5b0a6b7785cf8b291e25dfe.zip | |
fix(spotify.py): debug
| -rw-r--r-- | rubys_song_skipper/spotify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rubys_song_skipper/spotify.py b/rubys_song_skipper/spotify.py index 9226225..0550298 100644 --- a/rubys_song_skipper/spotify.py +++ b/rubys_song_skipper/spotify.py @@ -26,11 +26,11 @@ def bearer(code): }, ) + print(authorization.text) + if authorization.status_code == 200: json = authorization.json() - print(json) - return (json["access_token"], json["refresh_token"], json["expires_in"]) else: return None |