diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-21 18:21:06 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-21 18:21:06 +0100 |
commit | edb879de69bd258021aae8a600418d21ec2a377f (patch) | |
tree | 7ae1be4f240cd2f3f66ae58a8315081706e51dc6 /module/Api.py | |
parent | closed #519 (diff) | |
download | pyload-edb879de69bd258021aae8a600418d21ec2a377f.tar.xz |
return pid for uploadContainer
Diffstat (limited to 'module/Api.py')
-rw-r--r-- | module/Api.py | 2 |
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): |