summaryrefslogtreecommitdiffstats
path: root/module/web/ajax/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/ajax/views.py')
-rw-r--r--module/web/ajax/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/ajax/views.py b/module/web/ajax/views.py
index 0ad5e5156..82e478af3 100644
--- a/module/web/ajax/views.py
+++ b/module/web/ajax/views.py
@@ -232,7 +232,7 @@ def abort_link(request, id):
@permission('pyload.can_add_dl')
def push_to_queue(request, id):
try:
- settings.PYLOAD.push_package_2_queue(int(id))
+ settings.PYLOAD.push_package_to_queue(int(id))
return JsonResponse("sucess")
except:
return HttpResponseServerError()