From e7f389dcd40f0e5901f083f219a6223f252138fd Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 14 Jul 2011 21:13:11 +0200 Subject: fixed download aborting --- module/web/json_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/web/json_app.py') 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() -- cgit v1.2.3