Commit 35be0f34 authored by Julien Cigar's avatar Julien Cigar 🤘
Browse files

missing .pop()

parent 18d0c152
......@@ -17,7 +17,7 @@ class SATool(cherrypy.Tool):
self.remove_session, priority=80)
def bind_session(self):
cherrypy.request.db = cherrypy.engine.publish('get-session')
cherrypy.request.db = cherrypy.engine.publish('get-session').pop()
def remove_session(self):
cherrypy.request.db = None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment