Use an empty iterable instead of None in the valid upload mime-types settings when there's no required mime type, in order to simplify other code.

- Legacy-Id: 14778
This commit is contained in:
Henrik Levkowetz 2018-03-13 13:52:50 +00:00
parent c4bb28325a
commit 07229b7406

View file

@ -742,7 +742,7 @@ MEETING_VALID_UPLOAD_EXTENSIONS = {
MEETING_VALID_UPLOAD_MIME_TYPES = {
'agenda': ['text/plain', 'text/html', ],
'minutes': ['text/plain', 'text/html', 'application/pdf', ],
'slides': None,
'slides': [],
'bluesheets': ['application/pdf', 'text/plain', ],
}