mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
13 lines
270 B
Python
13 lines
270 B
Python
from .parsers import TextDocumentParser
|
|
|
|
|
|
def text_consumer_declaration(sender, **kwargs):
|
|
return {
|
|
"parser": TextDocumentParser,
|
|
"weight": 10,
|
|
"mime_types": {
|
|
"text/plain": ".txt",
|
|
"text/csv": ".csv",
|
|
}
|
|
}
|