summaryrefslogtreecommitdiffstats
path: root/module/web/webinterface.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-14 15:17:07 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-14 15:17:07 +0100
commit1ecd9254b361d4e026e7a25f1b47382d1015e63c (patch)
tree183e5215126435b5b9bc986d86e616bafccb1645 /module/web/webinterface.py
parentsome parts of cli working again (diff)
downloadpyload-1ecd9254b361d4e026e7a25f1b47382d1015e63c.tar.xz
default thrift backend
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r--module/web/webinterface.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py
index dd5920486..ef5046f44 100644
--- a/module/web/webinterface.py
+++ b/module/web/webinterface.py
@@ -85,9 +85,6 @@ LOG_ROOT = config.get('log', 'log_folder')
DEBUG = config.get("general","debug_mode")
bottle.debug(DEBUG)
-if not exists(join("tmp", "jinja_cache")):
- makedirs(join("tmp", "jinja_cache"))
-
bcc = FileSystemBytecodeCache(join("tmp","jinja_cache"))
loader = PrefixLoader({
"default": FileSystemLoader(join(PROJECT_DIR, "templates", "jinja", "default"))
@@ -112,7 +109,7 @@ from beaker.middleware import SessionMiddleware
session_opts = {
'session.type': 'file',
- # 'session.cookie_expires': -1,
+ 'session.cookie_expires': False,
'session.data_dir': './tmp',
'session.auto': False
}