Skip to content

Commit

Permalink
FIXUP: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Oct 9, 2024
1 parent d9eaec4 commit d31a10f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dangerzone/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def get_tessdata_dir() -> pathlib.Path:
tessdata_dirs = [
pathlib.Path("/usr/share/tessdata/"), # on Debian
pathlib.Path("/usr/share/tesseract/tessdata/"), # on Fedora
pathlib.Path("/usr/share/tesseract-ocr/tessdata/"), # ? (documented, but not encountered)
pathlib.Path(
"/usr/share/tesseract-ocr/tessdata/"
), # ? (documented, but not encountered)
pathlib.Path("/usr/share/tesseract-ocr/4.00/tessdata/"), # on Ubuntu
]

Expand Down
1 change: 0 additions & 1 deletion install/linux/vendor-pymupdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def main():
if not os.listdir(args.dest):
print(f">>> Failed to vendor PyMuPDF under '{args.dest}'", file=sys.stderr)


print(f">>> Successfully vendored PyMuPDF under '{args.dest}'", file=sys.stderr)


Expand Down

0 comments on commit d31a10f

Please sign in to comment.