Call is_updated instead of testing it boolean.

This commit is contained in:
Brett Smith 2013-03-25 09:20:46 -04:00
parent 09102e0767
commit 3843697c28

View File

@ -59,7 +59,7 @@ class SessionManager(object):
return Session()
def save_session_to_cookie(self, session, response):
if not session.is_updated:
if not session.is_updated():
return
elif not session:
response.delete_cookie(self.cookie_name)