From 7279f93b37dbd07b71161fd784088dff5f70d961 Mon Sep 17 00:00:00 2001 From: Felipe gonzalez Date: Mon, 18 Apr 2022 16:02:51 -0500 Subject: [PATCH] fix(KeyError): Fixed KeyError based on MPO files https://github.com/python-pillow/Pillow/issues/1138#issuecomment-872254910 --- da_vinci/formats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/da_vinci/formats.py b/da_vinci/formats.py index b1dd2f8..31f14bb 100644 --- a/da_vinci/formats.py +++ b/da_vinci/formats.py @@ -18,5 +18,6 @@ 'PDF': 'pdf', 'TIFF': 'tif', 'BMP': 'bmp', - 'WEBP': 'webp' + 'WEBP': 'webp', + 'MPO': 'mpo', }