summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app/utils.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:20:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:20:59 +0200
commite00ef98491f79ae8aa972ae1473dae4a7b78c07e (patch)
tree31be0c7cdcebb61525bcc387bcf15d265a1c494a /pyload/webui/app/utils.py
parentFix except (diff)
downloadpyload-e00ef98491f79ae8aa972ae1473dae4a7b78c07e.tar.xz
Cleanup
Diffstat (limited to 'pyload/webui/app/utils.py')
-rw-r--r--pyload/webui/app/utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyload/webui/app/utils.py b/pyload/webui/app/utils.py
index 4a431493b..ac7fa84fb 100644
--- a/pyload/webui/app/utils.py
+++ b/pyload/webui/app/utils.py
@@ -84,7 +84,11 @@ def parse_userdata(session):
def login_required(perm=None):
+
+
def _dec(func):
+
+
def _view(*args, **kwargs):
s = request.environ.get('beaker.session')
if s.get("name", None) and s.get("authenticated", False):
@@ -116,6 +120,7 @@ def toDict(obj):
class CherryPyWSGI(ServerAdapter):
+
def run(self, handler):
from wsgiserver import CherryPyWSGIServer