mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 14:01:13 +00:00
Remove remaining in
This commit is contained in:
parent
c9b5db72f3
commit
8dd7e0acdf
2
twoot.py
2
twoot.py
|
@ -1245,7 +1245,7 @@ def main(argv):
|
|||
|
||||
except MastodonAPIError as e:
|
||||
_, _, _, exception_message = e.args
|
||||
if in exception_message.find('Text character limit') != -1:
|
||||
if exception_message.find('Text character limit') != -1:
|
||||
# ERROR (('Mastodon API returned error', 422, 'Unprocessable Entity', 'Validation failed: Text character limit of 500 exceeded'))
|
||||
logging.error('Toot text too long: %s characters', str(len(tweet['tweet_text'])))
|
||||
logging.error('posting ' + tweet['tweet_id'] + ' to ' + TOML['config']['mastodon_instance'] + ' Failed')
|
||||
|
|
Loading…
Reference in New Issue
Block a user