Fixed proxy issue

This commit is contained in:
Paul Lamere 2017-01-02 12:11:27 -05:00
parent f055db8fb3
commit c8ff4b960a
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class SpotifyOAuth(object):
OAUTH_TOKEN_URL = 'https://accounts.spotify.com/api/token'
def __init__(self, client_id, client_secret, redirect_uri,
state=None, scope=None, cache_path=None):
state=None, scope=None, cache_path=None, proxies=None):
'''
Creates a SpotifyOAuth object
@ -118,6 +118,7 @@ class SpotifyOAuth(object):
self.state=state
self.cache_path = cache_path
self.scope=self._normalize_scope(scope)
self.proxies = proxies
def get_cached_token(self):
''' Gets a cached auth token