Fix broken example

This commit is contained in:
Lorenz Diener 2017-06-15 23:28:53 +02:00
pare 5e0cf05330
commit 996219c1c8

Veure arxiu

@ -18,11 +18,13 @@ Mastodon.py
# Log in - either every time, or use persisted # 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( mastodon.log_in(
'my_login_email@example.com', 'my_login_email@example.com',
'incrediblygoodpassword', 'incrediblygoodpassword',
api_base_url = 'https://mastodon.social',
to_file = 'pytooter_usercred.secret' to_file = 'pytooter_usercred.secret'
) )
''' '''