Add support for rtf

Signed-off-by: Jo Vandeginste <Jo.Vandeginste@kuleuven.be>
This commit is contained in:
Jo Vandeginste 2021-04-30 13:19:12 +02:00
parent 9e1f9d6d9d
commit ec0af59596
No known key found for this signature in database
GPG Key ID: E349B1AD928B72FB

View File

@ -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",
},
}