A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
codestyle
jonaswinklera0f983f05d13
diff --git a/src/documents/management/commands/document_thumbnails.py b/src/documents/management/commands/document_thumbnails.pyindex 41ddec86e..01df14624 100644--- a/src/documents/management/commands/document_thumbnails.py+++ b/src/documents/management/commands/document_thumbnails.py@@ -23,6 +23,7 @@ def _process_document(doc_in):finally:parser.cleanup()+class Command(Renderable, BaseCommand):help = """@@ -62,4 +63,6 @@ class Command(Renderable, BaseCommand):db.connections.close_all()with multiprocessing.Pool() as pool:- list(tqdm.tqdm(pool.imap_unordered(_process_document, ids), total=len(ids)))+ list(tqdm.tqdm(+ pool.imap_unordered(_process_document, ids), total=len(ids)+ ))