From d5aaf88cd844bdd4feca43f9aa9e11eb6a65edf1 Mon Sep 17 00:00:00 2001 From: sea-kelp <66500457+sea-kelp@users.noreply.github.com> Date: Thu, 2 May 2024 23:57:48 -0700 Subject: [PATCH] Allow MPO image upload --- OpenOversight/app/models/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenOversight/app/models/config.py b/OpenOversight/app/models/config.py index c9f4f88aa..d0cc16a85 100644 --- a/OpenOversight/app/models/config.py +++ b/OpenOversight/app/models/config.py @@ -71,7 +71,7 @@ def __init__(self): self.S3_BUCKET_NAME = os.environ.get(KEY_S3_BUCKET_NAME) # Upload Settings - self.ALLOWED_EXTENSIONS = {"jpeg", "jpg", "jpe", "png", "gif", "webp"} + self.ALLOWED_EXTENSIONS = {"jpeg", "jpg", "jpe", "mpo", "png", "gif", "webp"} self.MAX_CONTENT_LENGTH = 50 * MEGABYTE # User settings