Browse Source

Add MIME-type for SVG upload support

master
piernov 9 years ago
parent
commit
7edcb5a09c
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      jm2l/upload.py

+ 3
- 1
jm2l/upload.py View File

@@ -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'
]




Loading…
Cancel
Save