summaryrefslogtreecommitdiffstats
path: root/module/web/webinterface.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-24 20:22:49 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-24 20:22:49 +0200
commit10c16952d50122c08aed9f9c7adf349826da4938 (patch)
tree4bbe4cbd46eb6b31e8e3e90717e7272539c5bfde /module/web/webinterface.py
parentplugins: czshare premium, czshare/quickshare/filefactory folders (diff)
downloadpyload-10c16952d50122c08aed9f9c7adf349826da4938.tar.xz
improved speed for high bandwith connections
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r--module/web/webinterface.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py
index d6b7f8438..f6ad35138 100644
--- a/module/web/webinterface.py
+++ b/module/web/webinterface.py
@@ -62,8 +62,7 @@ LOG_ROOT = config.get('log', 'log_folder')
PREFIX = config.get('webinterface', 'prefix')
if PREFIX:
- if PREFIX.endswith("/"):
- PREFIX = PREFIX[:1]
+ PREFIX = PREFIX.rstrip("/")
if not PREFIX.startswith("/"):
PREFIX = "/" + PREFIX