mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-25 00:58:56 +00:00
Fix: Rework system check so it won't crash if tesseract is not found (#7640)
This commit is contained in:
1 parent
cc25cbc026
commit
3df8be0bc7
2 files changed
+21
-15
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user