Fixed a typo

This commit is contained in:
Armin Ronacher 2011-04-17 19:03:06 +02:00
parent 4c8c503326
commit 0ecc686372

View file

@ -321,7 +321,7 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False,
if not attachment_filename and not mimetype \
and isinstance(filename, basestring):
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.'),
stacklevel=2)
if add_etags: