Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add pdf to documents tuple (#20)
  • Loading branch information
greyli authored and maxcountryman committed Oct 18, 2018
1 parent f75a1b5 commit dc24fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_uploads.py
Expand Up @@ -35,7 +35,7 @@
#: This contains various office document formats (.rtf, .odf, .ods, .gnumeric,
#: .abw, .doc, .docx, .xls, and .xlsx). Note that the macro-enabled versions
#: of Microsoft Office 2007 files are not included.
DOCUMENTS = tuple('rtf odf ods gnumeric abw doc docx xls xlsx'.split())
DOCUMENTS = tuple('rtf odf ods gnumeric abw doc docx xls xlsx pdf'.split())

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

0 comments on commit dc24fa0

Please sign in to comment.