Apparently, it's not possible to mix photos and videos in a toot, contrary to a tweet. Mastodon API raises an exception in this case when the script try to post such toot.
There is a catch, then a 10s wait, but the script re-do the same, and the same exception is raised again.
Apparently, it's not possible to mix photos and videos in a toot, contrary to a tweet. Mastodon API raises an exception in this case when the script try to post such toot.
There is a catch, then a 10s wait, but the script re-do the same, and the same exception is raised again.
I did a temporary "fix" by changing
to
But I guess there is a better way to fix that (I'm very far from being a Python expert…)