Skip to content

Commit 866f0b5

Browse files
committed
convert to set literals
1 parent 46f3c5f commit 866f0b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/uploader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
UPLOAD_FOLDER = '/path/to/the/uploads'
2-
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
2+
ALLOWED_EXTENSIONS = {'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'}

0 commit comments

Comments
 (0)