diff options
author | Joseph Tate <jtate@dragonstrider.com> | 2013-03-29 06:28:36 -0400 |
---|---|---|
committer | Joseph Tate <jtate@dragonstrider.com> | 2013-03-29 06:28:36 -0400 |
commit | 5229f2fe9d096e3af9e354976e7e9422d392bf06 (patch) | |
tree | a093a03aa2fb601f1c3b0ae065c06c4d1b02f186 | |
parent | 63c0a7004117f75860b21342d02a57ef80a6da43 (diff) | |
download | cherrypy-5229f2fe9d096e3af9e354976e7e9422d392bf06.tar.gz |
Fix session closing bug introduced in d777650d57e6
-rw-r--r-- | cherrypy/lib/sessions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/sessions.py b/cherrypy/lib/sessions.py index b5fa4f94..17177eb8 100644 --- a/cherrypy/lib/sessions.py +++ b/cherrypy/lib/sessions.py @@ -758,7 +758,7 @@ def close(): if getattr(sess, "locked", False): # If the session is still locked we release the lock sess.release_lock() - if self.debug: + if sess.debug: cherrypy.log('Lock released on close.', 'TOOLS.SESSIONS') close.failsafe = True close.priority = 90 |