Fixed a typo
This commit is contained in:
parent
4c8c503326
commit
0ecc686372
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False,
|
||||||
if not attachment_filename and not mimetype \
|
if not attachment_filename and not mimetype \
|
||||||
and isinstance(filename, basestring):
|
and isinstance(filename, basestring):
|
||||||
warn(DeprecationWarning('The filename support for file objects '
|
warn(DeprecationWarning('The filename support for file objects '
|
||||||
'passed to send_file is not deprecated. Pass an '
|
'passed to send_file is now deprecated. Pass an '
|
||||||
'attach_filename if you want mimetypes to be guessed.'),
|
'attach_filename if you want mimetypes to be guessed.'),
|
||||||
stacklevel=2)
|
stacklevel=2)
|
||||||
if add_etags:
|
if add_etags:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue