From 1d6559596df74c8af8d699a6709f7155400b9f98 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 3 Apr 2018 23:56:39 +0200 Subject: [PATCH] Apparently, `image/jpg` isn't correct, `image/jpeg` is --- src/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/images.py b/src/images.py index 93f3ec2..afc0658 100644 --- a/src/images.py +++ b/src/images.py @@ -52,7 +52,7 @@ class GdkPixbufAbstractParser(abstract.AbstractParser): class JPGParser(GdkPixbufAbstractParser): - mimetypes = {'image/jpg'} + mimetypes = {'image/jpeg'} meta_whitelist = {'SourceFile', 'ExifToolVersion', 'FileName', 'Directory', 'FileSize', 'FileModifyDate', 'FileAccessDate', "FileInodeChangeDate", 'FilePermissions', 'FileType',