From 160ed08dc0757023ff4f6809781fbf2ca179fcd4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 30 Oct 2014 16:52:04 +0100 Subject: [PATCH] use static set --- webservice/bam/{config.py.example.py => config.py.example} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename webservice/bam/{config.py.example.py => config.py.example} (64%) diff --git a/webservice/bam/config.py.example.py b/webservice/bam/config.py.example similarity index 64% rename from webservice/bam/config.py.example.py rename to webservice/bam/config.py.example index 2502c63..99e4490 100644 --- a/webservice/bam/config.py.example.py +++ b/webservice/bam/config.py.example @@ -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'}