use static set

This commit is contained in:
2014-10-30 16:52:04 +01:00
parent b1ac405ef5
commit 160ed08dc0

View File

@@ -4,4 +4,4 @@ class Config(object):
class Development(Config):
STORAGE_PATH='/Volumes/PROJECTS/storage'
UPLOAD_FOLDER = '/Volumes/PROJECTS/storage_staging'
ALLOWED_EXTENSIONS = set(['txt', 'mp4', 'png', 'jpg', 'jpeg', 'gif', 'blend', 'zip'])
ALLOWED_EXTENSIONS = {'txt', 'mp4', 'png', 'jpg', 'jpeg', 'gif', 'blend', 'zip'}