aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-06-15 23:28:53 +0200
committerLorenz Diener <[email protected]>2017-06-15 23:28:53 +0200
commit996219c1c8ecefc63bb00cb7e4f1bd20eb843ce9 (patch)
tree66e0124e6b174554a2f0230251c253fdc5efb6f0 /docs
parent5e0cf053309b12831d3524862fec9fe21095091a (diff)
downloadmastodon.py-996219c1c8ecefc63bb00cb7e4f1bd20eb843ce9.tar.gz
Fix broken example
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst6
1 files changed, 4 insertions, 2 deletions
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
18 18
19 # Log in - either every time, or use persisted 19 # Log in - either every time, or use persisted
20 ''' 20 '''
21 mastodon = Mastodon(client_id = 'pytooter_clientcred.secret') 21 mastodon = Mastodon(
22 client_id = 'pytooter_clientcred.secret',
23 api_base_url = 'https://mastodon.social'
24 )
22 mastodon.log_in( 25 mastodon.log_in(
23 '[email protected]', 26 '[email protected]',
24 'incrediblygoodpassword', 27 'incrediblygoodpassword',
25 api_base_url = 'https://mastodon.social',
26 to_file = 'pytooter_usercred.secret' 28 to_file = 'pytooter_usercred.secret'
27 ) 29 )
28 ''' 30 '''
Powered by cgit v1.2.3 (git 2.41.0)