fix default value for OCR_MAX_IMAGE_PIXELS

This commit is contained in:
Henning Häcker 2022-03-21 23:30:49 +01:00 committed by Johann Bauer
parent 559f7c2683
commit 5d91d6a885

View File

@ -490,7 +490,7 @@ OCR_ROTATE_PAGES_THRESHOLD = float(
)
OCR_MAX_IMAGE_PIXELS = os.environ.get(
'PAPERLESS_OCR_MAX_IMAGE_PIXELS', Image.MAX_IMAGE_PIXELS
'PAPERLESS_OCR_MAX_IMAGE_PIXELS', 256000000
)
OCR_USER_ARGS = os.getenv("PAPERLESS_OCR_USER_ARGS", "{}")