Fix broken example
This commit is contained in:
pare
5e0cf05330
commit
996219c1c8
S'han modificat 1 arxius amb 4 adicions i 2 eliminacions
|
@ -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'
|
||||||
)
|
)
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Referencia en una nova incidència