diff options
author | Lorenz Diener <[email protected]> | 2017-06-15 23:28:53 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-06-15 23:28:53 +0200 |
commit | 996219c1c8ecefc63bb00cb7e4f1bd20eb843ce9 (patch) | |
tree | 66e0124e6b174554a2f0230251c253fdc5efb6f0 | |
parent | 5e0cf053309b12831d3524862fec9fe21095091a (diff) | |
download | mastodon.py-996219c1c8ecefc63bb00cb7e4f1bd20eb843ce9.tar.gz |
Fix broken example
-rw-r--r-- | docs/index.rst | 6 |
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 | ''' |