Added a method to update the auth token (#479)

* Added a method to update the auth token

* trying to fix errors
This commit is contained in:
rako77 authored and GitHub committed 2020-04-26 21:39:12 +01:00
1 parent c58501972c
commit 71a19de031
2 files changed
+5

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
// add new changes here // add new changes here
- Added a method to update the auth token.
## [2.11.2] - 2020-04-19 ## [2.11.2] - 2020-04-19
### Changed ### Changed
+3
View File
@@ -101,6 +101,9 @@ class Spotify(object):
else: # Use the Requests API module as a "session". else: # Use the Requests API module as a "session".
self._session = requests.api self._session = requests.api
def set_auth(self, auth):
self._auth = auth
@property @property
def auth_manager(self): def auth_manager(self):
return self._auth_manager return self._auth_manager