Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Consistent use of encoding naming

  • Loading branch information...
commit 301e244df3dc747a73e2564a046976af5d0164eb 1 parent 3afcbf1
@mitsuhiko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  flask/helpers.py
View
2  flask/helpers.py
@@ -571,7 +571,7 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False,
os.path.getmtime(filename),
os.path.getsize(filename),
adler32(
- filename.encode('utf8') if isinstance(filename, unicode)
+ filename.encode('utf-8') if isinstance(filename, unicode)
else filename
) & 0xffffffff
))
Please sign in to comment.
Something went wrong with that request. Please try again.