mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Test getting max_characters
This commit is contained in:
parent
dba9e7d3ab
commit
8ddf85c0cf
5
twoot.py
5
twoot.py
|
@ -1150,6 +1150,11 @@ def main(argv):
|
|||
if len(tweets) != 0 and mastodon is None:
|
||||
mastodon = login(mast_password)
|
||||
|
||||
# Check toot character limit on mastodon instance
|
||||
mast_statuses = mastodon.instance().configuration.statuses
|
||||
logging.debug('Instance configuration:')
|
||||
logging.debug(mast_statuses)
|
||||
|
||||
# **********************************************************
|
||||
# Iterate tweets in list.
|
||||
# post each on Mastodon and record it in database
|
||||
|
|
Loading…
Reference in New Issue
Block a user