remove tiff parser

This commit is contained in:
emrgnt-cmplxty
2025-03-20 00:11:34 -07:00
parent b4d0f30e14
commit 27f4bcc8c6
+1 -1
View File
@@ -142,7 +142,7 @@ class ImageParser(AsyncParser[str | bytes]):
if self._is_tiff(data):
return "image/tiff"
# Try using imghdr as a fallback
# Try using filetype as a fallback
img_type = filetype.guess(data)
if img_type:
# Map the detected type to a MIME type