mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Add support for rtf
Signed-off-by: Jo Vandeginste <Jo.Vandeginste@kuleuven.be>
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
def get_parser(*args, **kwargs):
|
def get_parser(*args, **kwargs):
|
||||||
from .parsers import TikaDocumentParser
|
from .parsers import TikaDocumentParser
|
||||||
|
|
||||||
@@ -20,5 +19,6 @@ def tika_consumer_declaration(sender, **kwargs):
|
|||||||
"application/vnd.oasis.opendocument.presentation": ".odp",
|
"application/vnd.oasis.opendocument.presentation": ".odp",
|
||||||
"application/vnd.oasis.opendocument.spreadsheet": ".ods",
|
"application/vnd.oasis.opendocument.spreadsheet": ".ods",
|
||||||
"application/vnd.oasis.opendocument.text": ".odt",
|
"application/vnd.oasis.opendocument.text": ".odt",
|
||||||
|
"text/rtf": ".rtf",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user