From 9a1c7a7147fc53a35b941a73e9c88eaf405a9449 Mon Sep 17 00:00:00 2001 From: Tyler Britten Date: Fri, 3 Mar 2017 11:10:04 -0500 Subject: [PATCH] fixed missing request_timeout on app creation --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: # Registering apps ### @staticmethod - def create_app(client_name, scopes = ['read', 'write', 'follow'], redirect_uris = None, to_file = None, api_base_url = __DEFAULT_BASE_URL): + 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): """ Create a new app with given client_name and scopes (read, write, follow)