mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
first implementation of the mail rework
This commit is contained in:
parent
011bc9916e
commit
0b1637da62
25 changed files with 421 additions and 8665 deletions
|
|
@ -6,14 +6,9 @@ from whoosh.writing import AsyncWriter
|
|||
from documents import index
|
||||
from documents.classifier import DocumentClassifier, \
|
||||
IncompatibleClassifierVersionError
|
||||
from documents.mail import MailFetcher
|
||||
from documents.models import Document
|
||||
|
||||
|
||||
def consume_mail():
|
||||
MailFetcher().pull()
|
||||
|
||||
|
||||
def index_optimize():
|
||||
index.open_index().optimize()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue