summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-22 20:26:12 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-22 20:26:12 +0200
commit991bd3d6c1586fb01ddc8207eaee3cfd7a7801f3 (patch)
tree49bd562d79f1a896c8f871bc728e7eb1924c8d87 /module/web
parentshow updates on webif (diff)
downloadpyload-991bd3d6c1586fb01ddc8207eaee3cfd7a7801f3.tar.xz
closed #367
Diffstat (limited to 'module/web')
-rw-r--r--module/web/cnl_app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/cnl_app.py b/module/web/cnl_app.py
index 23bc67bf6..22be426de 100644
--- a/module/web/cnl_app.py
+++ b/module/web/cnl_app.py
@@ -39,7 +39,7 @@ def add(request):
package = request.POST.get('referer', 'ClickAndLoad Package')
urls = filter(lambda x: x != "", request.POST['urls'].split("\n"))
- PYLOAD.add_package(package, urls, False)
+ PYLOAD.addPackage(package, urls, 0)
return ""
@@ -56,7 +56,7 @@ def addcrypted():
dlc_file.close()
try:
- PYLOAD.add_package(package, [dlc_path], False)
+ PYLOAD.addPackage(package, [dlc_path], 0)
except:
return HTTPError()
else: