From 996219c1c8ecefc63bb00cb7e4f1bd20eb843ce9 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Thu, 15 Jun 2017 23:28:53 +0200 Subject: Fix broken example --- docs/index.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index c59940d..09808ac 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -18,11 +18,13 @@ Mastodon.py # Log in - either every time, or use persisted ''' - mastodon = Mastodon(client_id = 'pytooter_clientcred.secret') + mastodon = Mastodon( + client_id = 'pytooter_clientcred.secret', + api_base_url = 'https://mastodon.social' + ) mastodon.log_in( 'my_login_email@example.com', 'incrediblygoodpassword', - api_base_url = 'https://mastodon.social', to_file = 'pytooter_usercred.secret' ) ''' -- cgit v1.2.3