Many fixes and improvenments
This commit is contained in:
parent
5474134f74
commit
87177ccdb5
7 changed files with 180 additions and 66 deletions
|
|
@ -73,10 +73,16 @@ def generate_session():
|
|||
|
||||
def get_session():
|
||||
|
||||
if config.cookie_name in request.environ:
|
||||
try:
|
||||
|
||||
if config.cookie_name in request.environ:
|
||||
|
||||
return ParamecioSession()
|
||||
else:
|
||||
return None
|
||||
|
||||
except:
|
||||
|
||||
return ParamecioSession()
|
||||
else:
|
||||
return None
|
||||
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue