Commits

Joseph Tate  committed 6d7a6f2

Fix session closing bug introduced in d777650d57e6

  • Participants
  • Parent commits 3132c45

Comments (0)

Files changed (1)

File cherrypy/lib/sessions.py

     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