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

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