diff --git a/dangerzone/isolation_provider/container.py b/dangerzone/isolation_provider/container.py index 98f47ffe6..269359f16 100644 --- a/dangerzone/isolation_provider/container.py +++ b/dangerzone/isolation_provider/container.py @@ -217,8 +217,6 @@ def pixels_to_pdf( "-v", f"{tempdir}:/safezone:Z", "-e", - "TESSDATA_PREFIX=/usr/share/tessdata", - "-e", f"OCR={0 if ocr_lang is None else 1}", "-e", f"OCR_LANGUAGE={ocr_lang}",