mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Support .jpeg as well as .jpg
This commit is contained in:
@@ -5,7 +5,7 @@ from .parsers import RasterisedDocumentParser
|
|||||||
|
|
||||||
class ConsumerDeclaration(object):
|
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
|
@classmethod
|
||||||
def handle(cls, sender, **kwargs):
|
def handle(cls, sender, **kwargs):
|
||||||
|
Reference in New Issue
Block a user