allow to create credentials on any instance. fixes #2

This commit is contained in:
Carl Chenet 2017-04-11 15:24:54 +02:00
parent 836215b9bb
commit 6bff9ab53f
1 changed files with 1 additions and 0 deletions

View File

@ -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()),