1. cherrypy
  2. CherryPy


Joseph Tate  committed 6d7a6f2

Fix session closing bug introduced in d777650d57e6

  • Participants
  • Parent commits 3132c45
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/lib/sessions.py

View file
     if getattr(sess, "locked", False):
         # If the session is still locked we release the lock
-        if self.debug:
+        if sess.debug:
             cherrypy.log('Lock released on close.', 'TOOLS.SESSIONS')
 close.failsafe = True
 close.priority = 90