Merge pull request #8 from vmtyler/patch-1

fixed missing request_timeout on app creation
This commit is contained in:
Lorenz Diener 2017-03-03 17:12:32 +01:00 cometido por GitHub
commit 915be7ff4a

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)