diff --git a/src/ocrmypdf/subprocess/_windows.py b/src/ocrmypdf/subprocess/_windows.py index 10b2d2be..c610c35c 100644 --- a/src/ocrmypdf/subprocess/_windows.py +++ b/src/ocrmypdf/subprocess/_windows.py @@ -21,7 +21,6 @@ try: import winreg except ModuleNotFoundError as _notfound_ex: raise ModuleNotFoundError("This module is for Windows only") from _notfound_ex -del _notfound_ex log = logging.getLogger(__name__)