Standarizes the imports across all the files and modules (#4248)

This commit is contained in:
Trenton H
2023-09-23 20:17:01 -07:00
committed by GitHub
parent 9712ac109d
commit 8d60506884
16 changed files with 117 additions and 123 deletions

View File

@@ -1,5 +1,5 @@
# this is here so that django finds the checks.
from .checks import check_default_language_available
from .checks import get_tesseract_langs
from paperless_tesseract.checks import check_default_language_available
from paperless_tesseract.checks import get_tesseract_langs
__all__ = ["get_tesseract_langs", "check_default_language_available"]

View File

@@ -1,5 +1,5 @@
def get_parser(*args, **kwargs):
from .parsers import RasterisedDocumentParser
from paperless_tesseract.parsers import RasterisedDocumentParser
return RasterisedDocumentParser(*args, **kwargs)