Add scope param to log_in(), resolves issue #35

This commit is contained in:
Ansem 2017-04-20 14:32:40 +00:00
pare 2dfa8d3a37
commit 61f014f322

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)