标签: python session openerp cherrypy
我通过导入cherrypy
cherrypy.session['otp_status']=1
但是当我尝试将其检索为以下
otp_status=cherrypy.session['otp_status']
显示
KeyError: 'otp_status'
如何从会话中获取价值?
答案 0 :(得分:0)
Are you sure that you server time is accurate?.