mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	silenced unpaper once and for all
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonas Winkler
					Jonas Winkler