A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Extended exception handling
Wolf-Bastian Pöttner39f198138a14
diff --git a/src/paperless_tesseract/parsers.py b/src/paperless_tesseract/parsers.pyindex 37b2610c1..b5f012bdc 100644--- a/src/paperless_tesseract/parsers.py+++ b/src/paperless_tesseract/parsers.py@@ -200,7 +200,10 @@ class RasterisedDocumentParser(DocumentParser):return textdef get_date(self):- text = self.get_text()+ try:+ text = self.get_text()+ except ParseError as e:+ return None# This regular expression will try to find dates in the document at# hand and will match the following formats: