mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-18 13:58:12 +00:00
better logging for the retagger
This commit is contained in:
1 parent
4db75537cb
commit
1091387f48
2 files changed
+4
-5
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import logging
|
||||
|
||||
import tqdm
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from documents.classifier import load_classifier
|
||||
@@ -67,9 +68,7 @@ class Command(BaseCommand):
|
||||
|
||||
classifier = load_classifier()
|
||||
|
||||
for document in documents:
|
||||
logger.info(
|
||||
f"Processing document {document.title}")
|
||||
for document in tqdm.tqdm(documents):
|
||||
|
||||
if options['correspondent']:
|
||||
set_correspondent(
|
||||
|
||||
Reference in new issue
Block a user