From 7edcb5a09c5d9549f94033ef904f4df6a0c7574f Mon Sep 17 00:00:00 2001 From: piernov Date: Sat, 7 Mar 2015 14:42:58 +0100 Subject: Add MIME-type for SVG upload support --- jm2l/upload.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jm2l/upload.py b/jm2l/upload.py index a1eadc0..029862f 100644 --- a/jm2l/upload.py +++ b/jm2l/upload.py @@ -24,7 +24,9 @@ ACCEPTED_MIMES = ['application/pdf', 'application/vnd.oasis.opendocument.presentation', 'application/vnd.oasis.opendocument.presentation-template', 'application/vnd.oasis.opendocument.spreadsheet', - 'application/vnd.oasis.opendocument.spreadsheet-template'] + 'application/vnd.oasis.opendocument.spreadsheet-template', + 'image/svg+xml' +] -- cgit v1.2.3-54-g00ecf