summaryrefslogtreecommitdiffstats
path: root/module/web/webinterface.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-09-27 11:09:20 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-09-27 11:09:20 +0200
commit6bcb6ff8f35189baa0d1ec3d4a7ef8ebad3323c0 (patch)
tree6a15519a2715151bf0c14516aa91a703b233c965 /module/web/webinterface.py
parentplugins: fix czshare premium, add ifolder.ru, share-rapid.com by MikyWoW (diff)
parentSO fix (diff)
downloadpyload-6bcb6ff8f35189baa0d1ec3d4a7ef8ebad3323c0.tar.xz
Merge
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