diff options
author | Lorenz Diener <[email protected]> | 2017-03-15 11:08:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-15 11:08:56 +0100 |
commit | 6a65a3143c21fa90cd242facd63f24debc07f832 (patch) | |
tree | 6e6267d4fd70de912e75bb1f97b80759d4036488 | |
parent | 69a39020f8d959946403e2ed9d57ca368c27018f (diff) | |
parent | be6c248a21bfd4eafd193b51bd61c7860eff1b63 (diff) | |
download | mastodon.py-6a65a3143c21fa90cd242facd63f24debc07f832.tar.gz |
Merge pull request #9 from vmtyler/patch-2
fixed missing change
-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 | ||