We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f3c5f commit 866f0b5Copy full SHA for 866f0b5
services/uploader.py
@@ -1,2 +1,2 @@
1
UPLOAD_FOLDER = '/path/to/the/uploads'
2
-ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
+ALLOWED_EXTENSIONS = {'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'}
0 commit comments