Merge pull request #936 from zheller/fix-typo

Fix typo in helpers.py
This commit is contained in:
Armin Ronacher 2014-02-08 17:46:32 +00:00
commit e2264d0607

View file

@ -359,7 +359,7 @@ def flash(message, category='message'):
# session.setdefault('_flashes', []).append((category, message))
#
# This assumed that changes made to mutable structures in the session are
# are always in sync with the sess on object, which is not true for session
# are always in sync with the session object, which is not true for session
# implementations that use external storage for keeping their keys/values.
flashes = session.get('_flashes', [])
flashes.append((category, message))