forked from orbit-oss/flask
Remove a redundant "the" in a comment.
This commit is contained in:
parent
6b9fd4a968
commit
d4f6734741
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False,
|
||||||
rv = current_app.response_class(data, mimetype=mimetype, headers=headers,
|
rv = current_app.response_class(data, mimetype=mimetype, headers=headers,
|
||||||
direct_passthrough=True)
|
direct_passthrough=True)
|
||||||
|
|
||||||
# if we know the file modification date, we can store it as the
|
# if we know the file modification date, we can store it as
|
||||||
# the time of the last modification.
|
# the time of the last modification.
|
||||||
if mtime is not None:
|
if mtime is not None:
|
||||||
rv.last_modified = int(mtime)
|
rv.last_modified = int(mtime)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue