mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 17:17:26 +01:00
silenced unpaper once and for all
This commit is contained in:
parent
f4cebda085
commit
28ba634e6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue