1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-25 16:24:43 +01:00

Add permanent session

This commit is contained in:
Mehdi Abaakouk 2012-01-22 23:13:11 +01:00
parent 914eb489bf
commit eea79c93ed

1
lg.py
View file

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