fixed missing change
removed self. from request_timeout- missed this commit in the last PR
This commit is contained in:
pare
69a39020f8
commit
be6c248a21
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Referencia en una nova incidència