diff options
author | Tyler Britten <[email protected]> | 2017-03-03 11:23:11 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-03 11:23:11 -0500 |
commit | be6c248a21bfd4eafd193b51bd61c7860eff1b63 (patch) | |
tree | 6e6267d4fd70de912e75bb1f97b80759d4036488 | |
parent | 69a39020f8d959946403e2ed9d57ca368c27018f (diff) | |
download | mastodon.py-be6c248a21bfd4eafd193b51bd61c7860eff1b63.tar.gz |
fixed missing change
removed self. from request_timeout- missed this commit in the last PR
-rw-r--r-- | mastodon/Mastodon.py | 2 |
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 | ||