aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2015-03-07 14:42:58 +0100
committerpiernov <piernov@piernov.org>2015-03-07 14:42:58 +0100
commit7edcb5a09c5d9549f94033ef904f4df6a0c7574f (patch)
tree5044570c7442113d6040da268ff6f1c4383349fa
parent67631117e5375bc96e638ae02b7d9184e1474c29 (diff)
downloadjm2l-7edcb5a09c5d9549f94033ef904f4df6a0c7574f.tar.gz
jm2l-7edcb5a09c5d9549f94033ef904f4df6a0c7574f.tar.bz2
jm2l-7edcb5a09c5d9549f94033ef904f4df6a0c7574f.tar.xz
jm2l-7edcb5a09c5d9549f94033ef904f4df6a0c7574f.zip
Add MIME-type for SVG upload support
-rw-r--r--jm2l/upload.py4
1 files changed, 3 insertions, 1 deletions
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'
+]