mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-22 06:54:43 +01:00
Add permanent session
This commit is contained in:
parent
914eb489bf
commit
eea79c93ed
1
lg.py
1
lg.py
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue