From e32ed09da3a05db11957f414b07aa6d444726aac Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Mon, 16 Oct 2017 09:00:38 +0100 Subject: [PATCH] Support .jpeg as well as .jpg --- src/paperless_tesseract/signals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless_tesseract/signals.py b/src/paperless_tesseract/signals.py index e1717f105..2b7b9a085 100644 --- a/src/paperless_tesseract/signals.py +++ b/src/paperless_tesseract/signals.py @@ -5,7 +5,7 @@ from .parsers import RasterisedDocumentParser class ConsumerDeclaration(object): - MATCHING_FILES = re.compile("^.*\.(pdf|jpg|gif|png|tiff?|pnm|bmp)$") + MATCHING_FILES = re.compile("^.*\.(pdf|jpe?g|gif|png|tiff?|pnm|bmp)$") @classmethod def handle(cls, sender, **kwargs):