Corrects the score return

This commit is contained in:
Trenton H
2026-03-19 11:23:30 -07:00
parent 16e73f611d
commit 9e3c93f72d
+2 -3
View File
@@ -126,11 +126,10 @@ class MailDocumentParser:
Returns
-------
int | None
20 if the MIME type is supported (higher than the default 10 to
give the mail parser clear priority), otherwise None.
10 if the MIME type is supported, otherwise None.
"""
if mime_type in _SUPPORTED_MIME_TYPES:
return 20
return 10
return None
# ------------------------------------------------------------------