[Sync] added jpeg as image format

This commit is contained in:
Roman Timashev committed 2017-10-15 00:51:23 +03:00
1 parent c85491d121
commit 374b80a0eb
1 file changed
+1 -1
+1 -1
View File
@@ -73,6 +73,6 @@ def get_data(provider, path, transform):
def list_images(provider, path):
image_types = ['.jpg', '.JPG', '.png', '.PNG']
image_types = ['.jpg', '.JPG', '.jpeg', '.JPEG', '.png', '.PNG']
images = [provider.type_filter(path, ext) for ext in image_types]
return combine(images)