From 52480b61047810e175251beb8d0176de84425505 Mon Sep 17 00:00:00 2001 From: Joel Gil Leon Date: Wed, 16 May 2018 23:10:46 +0300 Subject: [PATCH] fix constructor order for test to pass --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index b0d5a39..8ac9a51 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -174,7 +174,7 @@ class Mastodon: ### # Authentication, including constructor ### - def __init__(self, access_token=None, client_id=None, client_secret=None, + def __init__(self, client_secret=None, access_token=None, client_id=None, api_base_url=__DEFAULT_BASE_URL, debug_requests=False, ratelimit_method="wait", ratelimit_pacefactor=1.1, request_timeout=__DEFAULT_TIMEOUT, mastodon_version=None,