summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-03-01 00:44:13 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-03-01 00:44:13 +0100
commit8e43000bfe0846c2dc9e06baeef2977fcb9f5084 (patch)
tree9ccb1fbb08875dde2a30e86e5b221ca8b7d7da48 /pyload/webui/app
parentsafe_join -> fs_join (diff)
downloadpyload-8e43000bfe0846c2dc9e06baeef2977fcb9f5084.tar.xz
.min.css -> .css
Diffstat (limited to 'pyload/webui/app')
-rw-r--r--pyload/webui/app/cnl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/app/cnl.py b/pyload/webui/app/cnl.py
index e00e47f66..c38e5fb68 100644
--- a/pyload/webui/app/cnl.py
+++ b/pyload/webui/app/cnl.py
@@ -18,7 +18,7 @@ except Exception:
def local_check(function):
def _view(*args, **kwargs):
if request.environ.get("REMOTE_ADDR", "0") in ("127.0.0.1", "localhost") \
- or request.environ.get("HTTP_HOST", "0") in ("127.0.0.1:9666", "localhost:9666"):
+ or request.environ.get("HTTP_HOST", "0") in ("127.0.0.1:9666", "localhost:9666"):
return function(*args, **kwargs)
else:
return HTTPError(403, "Forbidden")