mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-20 13:36:45 +01:00
Revert "Merge pull request #2732 from bdr99/skip_neverarchive"
This reverts commit77b23d3acb, reversing changes made to5d8aa27831.
This commit is contained in:
parent
dbea2acc8f
commit
8a89f5ae27
4 changed files with 5 additions and 65 deletions
|
|
@ -127,13 +127,7 @@ 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",
|
||||
"skip_neverarchive",
|
||||
}:
|
||||
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", "none"}:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue