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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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")