mirror of
https://github.com/sileht/bird-lg.git
synced 2025-02-19 17:30:28 +01:00
Add permanent session
This commit is contained in:
parent
914eb489bf
commit
eea79c93ed
1 changed files with 1 additions and 0 deletions
1
lg.py
1
lg.py
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue