summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-21 18:21:06 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-21 18:21:06 +0100
commitedb879de69bd258021aae8a600418d21ec2a377f (patch)
tree7ae1be4f240cd2f3f66ae58a8315081706e51dc6 /module/Api.py
parentclosed #519 (diff)
downloadpyload-edb879de69bd258021aae8a600418d21ec2a377f.tar.xz
return pid for uploadContainer
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/Api.py b/module/Api.py
index 5dc8916b1..e5d26631f 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -675,7 +675,7 @@ class Api(Iface):
th.write(str(data))
th.close()
- self.addPackage(th.name, [th.name])
+ return self.addPackage(th.name, [th.name])
@permission(PERMS.MODIFY)
def orderPackage(self, pid, position):