From 8e43000bfe0846c2dc9e06baeef2977fcb9f5084 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 1 Mar 2015 00:44:13 +0100 Subject: .min.css -> .css --- pyload/webui/app/cnl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/webui/app') 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") -- cgit v1.2.3