From 51f7ca969465e0ee955456bd9965815637dab534 Mon Sep 17 00:00:00 2001
From: BuildTools <unconfigured@null.spigotmc.org>
Date: Thu, 24 Oct 2019 19:35:24 +0200
Subject: [PATCH] Added tolerance for missing mimetype in content

---
 twoot.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/twoot.py b/twoot.py
index 25f123c..763e0e5 100755
--- a/twoot.py
+++ b/twoot.py
@@ -319,6 +319,8 @@ def main(argv):
                 pass
             except MastodonIllegalArgumentError:  # Could not determine mime type of content
                 pass
+            except TypeError:
+                pass
 
         # Post toot
         try: