Fix in sessions
This commit is contained in:
parent
cdf5336810
commit
7b7a45debf
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ def get_session():
|
||||||
|
|
||||||
if not cookie:
|
if not cookie:
|
||||||
|
|
||||||
if len(request.environ)>0:
|
if hasattr(request, 'app'):
|
||||||
|
|
||||||
s=generate_session()
|
s=generate_session()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue