Add permanent session

This commit is contained in:
Mehdi Abaakouk 2012-01-22 23:13:11 +01:00
parent 914eb489bf
commit eea79c93ed
1 changed files with 1 additions and 0 deletions

1
lg.py
View File

@ -39,6 +39,7 @@ def add_links(text):
return "\n".join(ret_text)
def set_session(req_type, hosts, proto, request_args):
session.permanent = True
session.update( {
"req_type": req_type,
"hosts": hosts,