A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
silenced unpaper once and for all
Jonas Winkler28ba634e6acb
diff --git a/src/documents/parsers.py b/src/documents/parsers.pyindex 60ad5cd7d..0cbd13987 100644--- a/src/documents/parsers.py+++ b/src/documents/parsers.py@@ -90,7 +90,7 @@ def run_unpaper(pnm, logging_group=None):logger.debug("Execute: " + " ".join(command_args), extra={'group': logging_group})- if not subprocess.Popen(command_args).wait() == 0:+ if not subprocess.Popen(command_args, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL).wait() == 0:raise ParseError("Unpaper failed at {}".format(command_args))return pnm_out