Merge pull request #37 from azillion/azillion/fix-35

Add scope param to log_in(), resolves issue #35
This commit is contained in:
Lorenz Diener 2017-04-21 12:37:23 +02:00 cometido por GitHub
commit 49872d849d

Veure arxiu

@ -211,6 +211,7 @@ class Mastodon:
params['client_id'] = self.client_id
params['client_secret'] = self.client_secret
params['scope'] = " ".join(scopes)
try:
response = self.__api_request('POST', '/oauth/token', params, do_ratelimiting = False)