mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Support .jpeg as well as .jpg
This commit is contained in:
parent
c5632e5c04
commit
e32ed09da3
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue