mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Add support for rtf
Signed-off-by: Jo Vandeginste <Jo.Vandeginste@kuleuven.be>
This commit is contained in:
parent
9e1f9d6d9d
commit
ec0af59596
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue