From be6c248a21bfd4eafd193b51bd61c7860eff1b63 Mon Sep 17 00:00:00 2001 From: Tyler Britten Date: Fri, 3 Mar 2017 11:23:11 -0500 Subject: fixed missing change removed self. from request_timeout- missed this commit in the last PR --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 1888436..b9ab05b 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -55,7 +55,7 @@ class Mastodon: else: request_data['redirect_uris'] = 'urn:ietf:wg:oauth:2.0:oob'; - response = requests.post(api_base_url + '/api/v1/apps', data = request_data, timeout = self.request_timeout).json() + response = requests.post(api_base_url + '/api/v1/apps', data = request_data, timeout = request_timeout).json() except: raise MastodonNetworkError("Could not complete request.") -- cgit v1.2.3