fixed missing request_timeout on app creation

This commit is contained in:
Tyler Britten 2017-03-03 11:10:04 -05:00 cometido por GitHub
pare 8b4d759612
commit 9a1c7a7147

Veure arxiu

@ -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)