From 9e3c93f72dbb8c73ac94f6f93be645290045afc8 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Thu, 19 Mar 2026 11:23:30 -0700 Subject: [PATCH] Corrects the score return --- src/paperless/parsers/mail.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/paperless/parsers/mail.py b/src/paperless/parsers/mail.py index f00bd5663..947892bd4 100644 --- a/src/paperless/parsers/mail.py +++ b/src/paperless/parsers/mail.py @@ -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 # ------------------------------------------------------------------