summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
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):