summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 21:13:11 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 21:13:11 +0200
commite7f389dcd40f0e5901f083f219a6223f252138fd (patch)
tree18658c0843450c53016fd5ccabaad7d382cdf69a /module/web
parenthas_key refractored, package name generator by Geek (diff)
downloadpyload-e7f389dcd40f0e5901f083f219a6223f252138fd.tar.xz
fixed download aborting
Diffstat (limited to 'module/web')
-rw-r--r--module/web/json_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/json_app.py b/module/web/json_app.py
index 91c33c622..a8684da7d 100644
--- a/module/web/json_app.py
+++ b/module/web/json_app.py
@@ -212,7 +212,7 @@ def restart_link(id):
@login_required('delete')
def abort_link(id):
try:
- PYLOAD.stopDownload("link", id)
+ PYLOAD.stopDownloads([id])
return {"response": "success"}
except:
return HTTPError()