manage different instances
This commit is contained in:
parent
7c70408920
commit
be7f6683ab
|
@ -42,7 +42,8 @@ class TootPost:
|
||||||
'''Main of the TweetPost class'''
|
'''Main of the TweetPost class'''
|
||||||
mastodon = Mastodon(
|
mastodon = Mastodon(
|
||||||
client_id = self.config.get('mastodon', 'client_credentials'),
|
client_id = self.config.get('mastodon', 'client_credentials'),
|
||||||
access_token = self.config.get('mastodon', 'user_credentials')
|
access_token = self.config.get('mastodon', 'user_credentials'),
|
||||||
|
api_base_url = self.config.get('mastodon', 'instance_url')
|
||||||
)
|
)
|
||||||
mastodon.toot(self.toot)
|
mastodon.toot(self.toot)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue