diff options
author | Lorenz Diener <[email protected]> | 2017-03-03 17:12:32 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-03 17:12:32 +0100 |
commit | 915be7ff4a7a456a24d42a053c525fc767b68ef8 (patch) | |
tree | 9033fc49adb6132d61b6c491072a8092c5a2d2aa | |
parent | 8b4d75961260648b7e123c00ab94861035c6d598 (diff) | |
parent | 9a1c7a7147fc53a35b941a73e9c88eaf405a9449 (diff) | |
download | mastodon.py-915be7ff4a7a456a24d42a053c525fc767b68ef8.tar.gz |
Merge pull request #8 from vmtyler/patch-1
fixed missing request_timeout on app creation
-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 a50c5ab..1888436 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -31,7 +31,7 @@ class Mastodon: | |||
31 | # Registering apps | 31 | # Registering apps |
32 | ### | 32 | ### |
33 | @staticmethod | 33 | @staticmethod |
34 | def create_app(client_name, scopes = ['read', 'write', 'follow'], redirect_uris = None, to_file = None, api_base_url = __DEFAULT_BASE_URL): | 34 | def create_app(client_name, scopes = ['read', 'write', 'follow'], redirect_uris = None, to_file = None, api_base_url = __DEFAULT_BASE_URL, request_timeout = __DEFAULT_TIMEOUT): |
35 | """ | 35 | """ |
36 | Create a new app with given client_name and scopes (read, write, follow) | 36 | Create a new app with given client_name and scopes (read, write, follow) |
37 | 37 | ||