Skip to content

Commit dc24fa0

Browse files
greylimaxcountryman
authored andcommitted
Add pdf to documents tuple (#20)
1 parent f75a1b5 commit dc24fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_uploads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#: This contains various office document formats (.rtf, .odf, .ods, .gnumeric,
3636
#: .abw, .doc, .docx, .xls, and .xlsx). Note that the macro-enabled versions
3737
#: of Microsoft Office 2007 files are not included.
38-
DOCUMENTS = tuple('rtf odf ods gnumeric abw doc docx xls xlsx'.split())
38+
DOCUMENTS = tuple('rtf odf ods gnumeric abw doc docx xls xlsx pdf'.split())
3939

4040
#: This contains basic image types that are viewable from most browsers (.jpg,
4141
#: .jpe, .jpeg, .png, .gif, .svg, and .bmp).

0 commit comments

Comments
 (0)