summaryrefslogtreecommitdiffstats
path: root/module/remote
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-02-14 17:35:14 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-02-14 17:35:14 +0100
commitb06712803b73db3d04657e699ce17a3668151ae0 (patch)
treea233514be627c6d8a3b2a2abe4c03b3163ad1c1e /module/remote
parentfixes, docstring update for gui (diff)
downloadpyload-b06712803b73db3d04657e699ce17a3668151ae0.tar.xz
really fixed #201
Diffstat (limited to 'module/remote')
-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):
"""