mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Remove uneeded TESSDATA_PREFIX setting in container
The container image does not need the TESSDATA_PREFIX env variable since its PyMuPDF version is new enough to support `tessdata` as an argument when calling the PyMuPDF tesseract method.
This commit is contained in:
parent
6006beeb03
commit
879fca6f9f
1 changed files with 0 additions and 2 deletions
|
@ -217,8 +217,6 @@ class Container(IsolationProvider):
|
||||||
"-v",
|
"-v",
|
||||||
f"{tempdir}:/safezone:Z",
|
f"{tempdir}:/safezone:Z",
|
||||||
"-e",
|
"-e",
|
||||||
"TESSDATA_PREFIX=/usr/share/tessdata",
|
|
||||||
"-e",
|
|
||||||
f"OCR={0 if ocr_lang is None else 1}",
|
f"OCR={0 if ocr_lang is None else 1}",
|
||||||
"-e",
|
"-e",
|
||||||
f"OCR_LANGUAGE={ocr_lang}",
|
f"OCR_LANGUAGE={ocr_lang}",
|
||||||
|
|
Loading…
Reference in a new issue