Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dieser-niko authored Jul 31, 2024
1 parent cdfdd6f commit dc19738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spotipy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ def _build_session(self):
self._session.mount('https://', adapter)

def _auth_headers(self):
if self._auth:
return {"Authorization": f"Bearer {self._auth}"}
if self.access_token:
return {"Authorization": "Bearer {0}".format(self.access_token)}
if not self.auth_manager:
return {}
try:
Expand Down

0 comments on commit dc19738

Please sign in to comment.