From 68c516fd7206af6e5bd29dedac4482ced4e1a305 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 9 Oct 2024 18:05:48 +0300 Subject: [PATCH] FIXUP: Fix lint and log to stderr --- dangerzone/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dangerzone/__init__.py b/dangerzone/__init__.py index 15ee5c81b..37a53b740 100644 --- a/dangerzone/__init__.py +++ b/dangerzone/__init__.py @@ -4,8 +4,8 @@ try: from . import vendor # type: ignore [attr-defined] - vendor_path = vendor.__path__[0] - print(f"Using vendored PyMuPDF libraries from '{vendor_path}'") + vendor_path: str = vendor.__path__[0] + print(f"Using vendored PyMuPDF libraries from '{vendor_path}'", file=sys.stderr) sys.path.insert(0, vendor_path) except ImportError: pass