Chore: Backend dependencies update (#5676)

This commit is contained in:
Trenton H
2024-02-08 09:48:24 -08:00
committed by GitHub
parent c508be6ecd
commit b60e16fe33
14 changed files with 718 additions and 602 deletions

View File

@@ -1100,7 +1100,7 @@ def _get_nltk_language_setting(ocr_lang: str) -> Optional[str]:
"tur": "turkish",
}
return iso_code_to_nltk.get(ocr_lang, None)
return iso_code_to_nltk.get(ocr_lang)
NLTK_ENABLED: Final[bool] = __get_boolean("PAPERLESS_ENABLE_NLTK", "yes")