1. mirror
  2. flask

Commits

Armin Ronacher  committed 301e244

Consistent use of encoding naming

  • Participants
  • Parent commits 3afcbf1
  • Branches master

Comments (0)

Files changed (1)

File flask/helpers.py

View file
             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
         ))