mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-07 00:27:12 +00:00
Allow PAPERLESS_OCR_CLEAN=none
This commit is contained in:
1 parent
426178b6e5
commit
5bb1824613
1 file changed
+1
-1
@@ -130,7 +130,7 @@ def settings_values_check(app_configs, **kwargs):
|
||||
if settings.OCR_MODE not in {"force", "skip", "redo", "skip_noarchive"}:
|
||||
msgs.append(Error(f'OCR output mode "{settings.OCR_MODE}" is not valid'))
|
||||
|
||||
if settings.OCR_CLEAN not in {"clean", "clean-final"}:
|
||||
if settings.OCR_CLEAN not in {"clean", "clean-final", "none"}:
|
||||
msgs.append(Error(f'OCR clean mode "{settings.OCR_CLEAN}" is not valid'))
|
||||
return msgs
|
||||
|
||||
|
||||
Reference in new issue
Block a user