A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix the source file checking
CkuT1f145c6cbaea
diff --git a/src/documents/management/commands/document_importer.py b/src/documents/management/commands/document_importer.pyindex 63c961815..afa0164ab 100644--- a/src/documents/management/commands/document_importer.py+++ b/src/documents/management/commands/document_importer.py@@ -77,7 +77,7 @@ class Command(Renderable, BaseCommand):)doc_file = record["__exported_file_name__"]- if not os.path.exists(os.path.join(self.source, doc_file)):+ if not os.path.exists(doc_file):raise CommandError('The manifest file refers to "{}" which does not ''appear to be in the source directory.'.format(doc_file)