summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/Handler.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-07 17:24:58 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-07 17:24:58 +0100
commit7dff8bc5fbb97bfd10d6568f78cd9354ac0be30b (patch)
treee29b68a6b07374e4cd150552790c262d73aaf2d3 /module/remote/thriftbackend/Handler.py
parentfixed captcha status response (diff)
downloadpyload-7dff8bc5fbb97bfd10d6568f78cd9354ac0be30b.tar.xz
Youtube fix, thrift java fix
Diffstat (limited to 'module/remote/thriftbackend/Handler.py')
-rw-r--r--module/remote/thriftbackend/Handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py
index bde93b240..265d50fa3 100644
--- a/module/remote/thriftbackend/Handler.py
+++ b/module/remote/thriftbackend/Handler.py
@@ -264,7 +264,7 @@ class Handler(Iface):
pdata.dest = pack["queue"]
pdata.order = pack["order"]
pdata.priority = pack["priority"]
- pdata.links = [self._convertPyFile(x) for x in pack["links"].values()]
+ pdata.links = [int(x) for x in pack["links"].keys()]
ret.append(pdata)
return ret
@@ -281,7 +281,7 @@ class Handler(Iface):
pdata.dest = pack["queue"]
pdata.order = pack["order"]
pdata.priority = pack["priority"]
- pdata.links = [int(x) for x in pack["links"].keys()]
+ pdata.links = [self._convertPyFile(x) for x in pack["links"].values()]
ret.append(pdata)
return ret