From eea79c93ed04e3b5dc4927ce99867ff4c3a50cae Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Sun, 22 Jan 2012 23:13:11 +0100 Subject: [PATCH] Add permanent session --- lg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lg.py b/lg.py index 232a415..2cdedec 100755 --- a/lg.py +++ b/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,