mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +02:00
FIXUP: Fix lint and log to stderr
This commit is contained in:
parent
297fe5ecdd
commit
073a6e69f8
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ import sys
|
||||||
try:
|
try:
|
||||||
from . import vendor # type: ignore [attr-defined]
|
from . import vendor # type: ignore [attr-defined]
|
||||||
|
|
||||||
vendor_path = vendor.__path__[0]
|
vendor_path: str = vendor.__path__[0]
|
||||||
print(f"Using vendored PyMuPDF libraries from '{vendor_path}'")
|
print(f"Using vendored PyMuPDF libraries from '{vendor_path}'", file=sys.stderr)
|
||||||
sys.path.insert(0, vendor_path)
|
sys.path.insert(0, vendor_path)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue