summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/Handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/Handler.py')
-rw-r--r--module/remote/thriftbackend/Handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py
index b1a7349bc..51764a0f5 100644
--- a/module/remote/thriftbackend/Handler.py
+++ b/module/remote/thriftbackend/Handler.py
@@ -162,7 +162,7 @@ class Handler(Iface):
- links
- dest
"""
- return self.serverMethods.add_package(name, links, dest)
+ return self.serverMethods.add_package(name, links, 0 if dest == Destination.Collector else 1)
def getPackageData(self, pid):
"""