summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-06 12:05:26 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-06 12:05:26 +0100
commit392785e31a47adec0550bfeb51666fe92503f22d (patch)
tree8b87cc530c26f92c2cccebf67c857370e53687ef /module/web
parentwebif dlc upload fix (diff)
downloadpyload-392785e31a47adec0550bfeb51666fe92503f22d.tar.xz
some fixes
Diffstat (limited to 'module/web')
-rw-r--r--module/web/webinterface.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py
index f6982287d..ea649c835 100644
--- a/module/web/webinterface.py
+++ b/module/web/webinterface.py
@@ -20,7 +20,7 @@
import sys
import gettext
-from os.path import join, abspath,dirname, exists
+from os.path import join, abspath, dirname, exists
from os import makedirs
PROJECT_DIR = abspath(dirname(__file__))
@@ -34,7 +34,7 @@ import bottle
from bottle import run, app
from jinja2 import Environment, FileSystemLoader, FileSystemBytecodeCache
-from middlewares import StripPathMiddleware, GZipMiddleWare, PrefixMiddleware
+from middlewares import StripPathMiddleware, GZipMiddleWare
try:
import module.web.ServerThread
@@ -115,7 +115,6 @@ session_opts = {
}
web = StripPathMiddleware(SessionMiddleware(app(), session_opts))
-web = PrefixMiddleware(web)
web = GZipMiddleWare(web)
import pyload_app
@@ -143,5 +142,4 @@ def run_fcgi(host="0.0.0.0", port="8000"):
if __name__ == "__main__":
-
run(app=web, port=8001)