Fix: Rework system check so it won't crash if tesseract is not found (#7640)

This commit is contained in:
Trenton H
2024-09-08 12:17:32 -07:00
committed by GitHub
parent cc25cbc026
commit 3df8be0bc7
2 changed files with 21 additions and 15 deletions

View File

@@ -78,7 +78,7 @@ def binaries_check(app_configs, **kwargs):
error = "Paperless can't find {}. Without it, consumption is impossible."
hint = "Either it's not in your ${PATH} or it's not installed."
binaries = (settings.CONVERT_BINARY, "tesseract")
binaries = (settings.CONVERT_BINARY, "tesseract", "gs")
check_messages = []
for binary in binaries: