From 61f014f3227a7e47a04e27dfe088ca69ea4e2152 Mon Sep 17 00:00:00 2001 From: Ansem Date: Thu, 20 Apr 2017 14:32:40 +0000 Subject: [PATCH] Add scope param to log_in(), resolves issue #35 --- mastodon/Mastodon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 310dc68..a1416c5 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -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)