commit | 6963e8b96be5b509fa57731446a82ec856cac5fa | [log] [tgz] |
---|---|---|
author | Piotr Dobrowolski <informatic@hackerspace.pl> | Sun Nov 12 15:51:23 2023 +0100 |
committer | informatic <informatic@hackerspace.pl> | Thu Nov 16 22:36:44 2023 +0000 |
tree | ae84ffa889a2763c6a42522cbdb3b6edee331be5 | |
parent | 13e6052b93e4d902b64b1eeccf1178f216df5228 [diff] [blame] |
hswaw/paperless: fix ingestion failure for invoices from new generator https: //ocrmypdf.readthedocs.io/en/latest/advanced.html#rendering-and-rasterizing-options Change-Id: I88e3e7cbf1c97f54004df50f7626cf6c74a839ee Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1787 Reviewed-by: radex <radex@hackerspace.pl>
diff --git a/hswaw/paperless/paperless.libsonnet b/hswaw/paperless/paperless.libsonnet index 1d5965f..1bb3c41 100644 --- a/hswaw/paperless/paperless.libsonnet +++ b/hswaw/paperless/paperless.libsonnet
@@ -151,6 +151,7 @@ PAPERLESS_OCR_LANGUAGE: "pol", PAPERLESS_OCR_MODE: "force", + PAPERLESS_OCR_USER_ARGS: '{"continue_on_soft_render_error": true}', PAPERLESS_DATE_ORDER: "YMD", PAPERLESS_EMAIL_TASK_CRON: "*/2 * * * *", },