diff options
author | piernov <piernov@piernov.org> | 2015-03-07 14:42:58 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2015-03-07 14:42:58 +0100 |
commit | 7edcb5a09c5d9549f94033ef904f4df6a0c7574f (patch) | |
tree | 5044570c7442113d6040da268ff6f1c4383349fa | |
parent | 67631117e5375bc96e638ae02b7d9184e1474c29 (diff) | |
download | jm2l-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.py | 4 |
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' +] |