From ec0af595961e04f3c29c769c7fb67a58addc678a Mon Sep 17 00:00:00 2001 From: Jo Vandeginste Date: Fri, 30 Apr 2021 13:19:12 +0200 Subject: [PATCH] Add support for rtf Signed-off-by: Jo Vandeginste --- src/paperless_tika/signals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless_tika/signals.py b/src/paperless_tika/signals.py index dbda377ca..6b1698f2d 100644 --- a/src/paperless_tika/signals.py +++ b/src/paperless_tika/signals.py @@ -1,4 +1,3 @@ - def get_parser(*args, **kwargs): from .parsers import TikaDocumentParser @@ -20,5 +19,6 @@ def tika_consumer_declaration(sender, **kwargs): "application/vnd.oasis.opendocument.presentation": ".odp", "application/vnd.oasis.opendocument.spreadsheet": ".ods", "application/vnd.oasis.opendocument.text": ".odt", + "text/rtf": ".rtf", }, }