mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-06 21:46:11 +01:00
Fix: Rework system check so it won't crash if tesseract is not found (#7640)
This commit is contained in:
parent
cc25cbc026
commit
3df8be0bc7
2 changed files with 21 additions and 15 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue