Skip to content

Commit

Permalink
FIXUP: Fix lint and log to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Oct 9, 2024
1 parent 01d9d4a commit 68c516f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dangerzone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68c516f

Please sign in to comment.