From edb879de69bd258021aae8a600418d21ec2a377f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 21 Jan 2012 18:21:06 +0100 Subject: return pid for uploadContainer --- module/Api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/Api.py') 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): -- cgit v1.2.3