From 603da52026685d45aeec1fb7a4d934f995c62e5a Mon Sep 17 00:00:00 2001 From: leonnicolas <60091705+leonnicolas@users.noreply.github.com> Date: Sun, 15 May 2022 06:45:23 +0200 Subject: [PATCH] Fix small typo in update api.py (#963) [ci skip] --- src/ocrmypdf/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocrmypdf/api.py b/src/ocrmypdf/api.py index 5c23151c..1ef68b38 100644 --- a/src/ocrmypdf/api.py +++ b/src/ocrmypdf/api.py @@ -295,7 +295,7 @@ def ocr( # pylint: disable=unused-argument text already, and settings did not tell us to proceed. ocrmypdf.InputFileError: Any other problem with the input file. ocrmypdf.SubprocessOutputError: Any error related to executing a subprocess. - ocrmypdf.EncryptedPdfERror: If the input PDF is encrypted (password protected). + ocrmypdf.EncryptedPdfError: If the input PDF is encrypted (password protected). OCRmyPDF does not remove passwords. ocrmypdf.TesseractConfigError: If Tesseract reported its configuration was not valid.