Keep the ''' and explain why they are there
This commit takes into account the discussion from https://github.com/halcy/Mastodon.py/pull/125
This commit is contained in:
pare
cf4987d601
commit
84b1bc7249
S'han modificat 1 arxius amb 3 adicions i 1 eliminacions
|
@ -1,16 +1,18 @@
|
||||||
Mastodon.py
|
Mastodon.py
|
||||||
===========
|
===========
|
||||||
Register your app! This only needs to be done once.
|
Register your app! This only needs to be done once. Uncomment the code and substitute in your information.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
from mastodon import Mastodon
|
from mastodon import Mastodon
|
||||||
|
|
||||||
|
'''
|
||||||
Mastodon.create_app(
|
Mastodon.create_app(
|
||||||
'pytooterapp',
|
'pytooterapp',
|
||||||
api_base_url = 'https://mastodon.social',
|
api_base_url = 'https://mastodon.social',
|
||||||
to_file = 'pytooter_clientcred.secret'
|
to_file = 'pytooter_clientcred.secret'
|
||||||
)
|
)
|
||||||
|
'''
|
||||||
|
|
||||||
Then login. This can be done every time, or use persisted.
|
Then login. This can be done every time, or use persisted.
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència