summaryrefslogtreecommitdiffstats
path: root/pyload/web/pyload_app.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-17 14:05:40 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-17 14:05:52 +0100
commitc1e580ec06b9065bc63ebf987d5306c03da237e0 (patch)
tree079f72ccc9d3f54ba14c7bf19e57ec67b813f6c3 /pyload/web/pyload_app.py
parentMerge pull request #365 from vuolter/m/timestamp (diff)
downloadpyload-c1e580ec06b9065bc63ebf987d5306c03da237e0.tar.xz
refactored pluginManager
Diffstat (limited to 'pyload/web/pyload_app.py')
-rw-r--r--pyload/web/pyload_app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyload/web/pyload_app.py b/pyload/web/pyload_app.py
index 1c89e2ada..50d9b9731 100644
--- a/pyload/web/pyload_app.py
+++ b/pyload/web/pyload_app.py
@@ -43,6 +43,7 @@ def serve_icon(path):
@route("/download/:fid")
@login_required('Download')
def download(fid, api):
+ # TODO: check owner ship
path, name = api.getFilePath(fid)
return static_file(name, path, download=True)