summaryrefslogtreecommitdiffstats
path: root/module/web/pyload/views.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-01-20 19:41:43 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-01-20 19:41:43 +0100
commit07f280a220ab5bc5c3fb510ea00aecedfcec7564 (patch)
tree0a902013984fa8aee01ce162e437ee2dfd988e84 /module/web/pyload/views.py
parentwebinterface - status icons (diff)
downloadpyload-07f280a220ab5bc5c3fb510ea00aecedfcec7564.tar.xz
queue page fully functional, some fixes
Diffstat (limited to 'module/web/pyload/views.py')
-rw-r--r--module/web/pyload/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py
index 994075001..d72dca56c 100644
--- a/module/web/pyload/views.py
+++ b/module/web/pyload/views.py
@@ -111,7 +111,7 @@ def downloads(request):
return render_to_response(join(settings.TEMPLATE, 'downloads.html'), RequestContext(request, {'files': data}, [status_proc]))
@login_required
-@permission('pyload.user.can_download')
+@permission('pyload.can_download')
@check_server
def download(request, path):
path = path.split("/")
@@ -143,7 +143,7 @@ def download(request, path):
return HttpResponseNotFound("File not Found.")
@login_required
-@permission('pyload.user.can_see_logs')
+@permission('pyload.can_see_logs')
@check_server
def logs(request, page=0):