diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-05-15 19:22:34 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-05-15 19:22:34 +0200 |
commit | 829244a6140763712d50ed046c33f415f2b04301 (patch) | |
tree | 0d48c183fabd87ab483604e5f654774f351478a8 /module/web/pyload_app.py | |
parent | new multiuser api methods (diff) | |
download | pyload-829244a6140763712d50ed046c33f415f2b04301.tar.xz |
some multiuser db changes
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r-- | module/web/pyload_app.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 4c448d2cd..2234b76c6 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -36,7 +36,7 @@ from utils import render_to_response, parse_permissions, parse_userdata, \ from filters import relpath, unquotepath -from module.Api import Output +from module.Api import Output, Permission from module.utils import format_size from module.utils.fs import save_join, fs_encode, fs_decode, listdir @@ -150,7 +150,7 @@ def logout(): @route("/") @route("/home") -@login_required("LIST") +@login_required("List") def home(): try: res = [toDict(x) for x in PYLOAD.getProgressInfo()] @@ -168,7 +168,7 @@ def home(): @route("/queue") -@login_required("LIST") +@login_required("List") def queue(): queue = PYLOAD.getQueue() |