diff --git a/src/paperless_tesseract/signals.py b/src/paperless_tesseract/signals.py index 2b7b9a085..2fa54f5d5 100644 --- a/src/paperless_tesseract/signals.py +++ b/src/paperless_tesseract/signals.py @@ -3,7 +3,7 @@ import re from .parsers import RasterisedDocumentParser -class ConsumerDeclaration(object): +class ConsumerDeclaration: MATCHING_FILES = re.compile("^.*\.(pdf|jpe?g|gif|png|tiff?|pnm|bmp)$")