forked from orbit-oss/flask
Fix typo in comment
This commit is contained in:
parent
f071562ec0
commit
851ca95778
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,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 session object, which is not true for session
|
||||
# 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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue