From 07229b74066a0a19ed78cef246c44bc95f79065b Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 13 Mar 2018 13:52:50 +0000 Subject: [PATCH] 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 --- ietf/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/settings.py b/ietf/settings.py index 58fad852a..c5cc8b9dc 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -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', ], }