mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-03-26 23:46:46 +00:00
Added tolerance for missing mimetype in content
This commit is contained in:
parent
55f188b9f9
commit
51f7ca9694
2
twoot.py
2
twoot.py
@ -319,6 +319,8 @@ def main(argv):
|
|||||||
pass
|
pass
|
||||||
except MastodonIllegalArgumentError: # Could not determine mime type of content
|
except MastodonIllegalArgumentError: # Could not determine mime type of content
|
||||||
pass
|
pass
|
||||||
|
except TypeError:
|
||||||
|
pass
|
||||||
|
|
||||||
# Post toot
|
# Post toot
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user