mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 09:10:45 +00:00
Fix text attribute for Response object (#811)
* Fix text attribute for Response object * Add a changelog for the AttributeError PR
This commit is contained in:
1 parent
c1a85f1469
commit
72a6cd9190
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -140,7 +140,7 @@ class SpotifyAuthBase(object):
|
||||
# then try do decode it into text
|
||||
|
||||
# if we receive an empty string (which is falsy), then replace it with `None`
|
||||
error = response.txt or None
|
||||
error = response.text or None
|
||||
error_description = None
|
||||
|
||||
raise SpotifyOauthError(
|
||||
|
||||
Reference in new issue
Block a user