aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Britten <[email protected]>2017-03-03 11:23:11 -0500
committerGitHub <[email protected]>2017-03-03 11:23:11 -0500
commitbe6c248a21bfd4eafd193b51bd61c7860eff1b63 (patch)
tree6e6267d4fd70de912e75bb1f97b80759d4036488 /mastodon
parent69a39020f8d959946403e2ed9d57ca368c27018f (diff)
downloadmastodon.py-be6c248a21bfd4eafd193b51bd61c7860eff1b63.tar.gz
fixed missing change
removed self. from request_timeout- missed this commit in the last PR
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
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:
55 else: 55 else:
56 request_data['redirect_uris'] = 'urn:ietf:wg:oauth:2.0:oob'; 56 request_data['redirect_uris'] = 'urn:ietf:wg:oauth:2.0:oob';
57 57
58 response = requests.post(api_base_url + '/api/v1/apps', data = request_data, timeout = self.request_timeout).json() 58 response = requests.post(api_base_url + '/api/v1/apps', data = request_data, timeout = request_timeout).json()
59 except: 59 except:
60 raise MastodonNetworkError("Could not complete request.") 60 raise MastodonNetworkError("Could not complete request.")
61 61
Powered by cgit v1.2.3 (git 2.41.0)