Fix broken example

pull/39/merge
Lorenz Diener 2017-06-15 23:28:53 +02:00
rodzic 5e0cf05330
commit 996219c1c8
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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'
) )
''' '''