mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Add a setting to disable creating an archive file
This commit is contained in:
@@ -127,7 +127,13 @@ def settings_values_check(app_configs, **kwargs):
|
||||
Error(f'OCR output type "{settings.OCR_OUTPUT_TYPE}" is not valid'),
|
||||
)
|
||||
|
||||
if settings.OCR_MODE not in {"force", "skip", "redo", "skip_noarchive"}:
|
||||
if settings.OCR_MODE not in {
|
||||
"force",
|
||||
"skip",
|
||||
"redo",
|
||||
"skip_noarchive",
|
||||
"skip_neverarchive",
|
||||
}:
|
||||
msgs.append(Error(f'OCR output mode "{settings.OCR_MODE}" is not valid'))
|
||||
|
||||
if settings.OCR_CLEAN not in {"clean", "clean-final", "none"}:
|
||||
|
Reference in New Issue
Block a user