allow to create credentials on any instance. fixes #2
This commit is contained in:
parent
836215b9bb
commit
6bff9ab53f
|
@ -47,6 +47,7 @@ while not userok:
|
|||
password = getpass(prompt='Mastodon password:')
|
||||
Mastodon.create_app(
|
||||
'feed2toot',
|
||||
api_base_url=instance,
|
||||
to_file = '{cwd}/feed2toot_clientcred.txt'.format(cwd=getcwd())
|
||||
)
|
||||
mastodon = Mastodon(client_id = '{cwd}/feed2toot_clientcred.txt'.format(cwd=getcwd()),
|
||||
|
|
Loading…
Reference in a new issue