From a9a8b39dbae50faf305dbf0f4f515edf4dd03a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alina=20B=C3=BCrge?= Date: Mon, 18 Aug 2025 22:00:39 +0200 Subject: [PATCH] Fix the use of the plugin_manager argument (#1555) --- 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 7fc412ad..32c3026f 100644 --- a/src/ocrmypdf/api.py +++ b/src/ocrmypdf/api.py @@ -357,7 +357,7 @@ def ocr( # noqa: D417 create_options_kwargs = { k: v for k, v in locals().items() - if k not in {'input_file', 'output_file', 'kwargs'} + if k not in {'input_file', 'output_file', 'kwargs', 'plugin_manager'} } create_options_kwargs.update(kwargs)