diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-16 17:06:24 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-16 17:06:24 +0100 |
commit | 4aeb2cda55b88463f6b5092410e76ada55185af5 (patch) | |
tree | 08927e7f0d0f91397cf99d146e01ecb1ad296716 /module | |
parent | windows connect fix (diff) | |
download | pyload-4aeb2cda55b88463f6b5092410e76ada55185af5.tar.xz |
fileorder fix?
Diffstat (limited to 'module')
-rw-r--r-- | module/remote/thriftbackend/Handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py index 1a9625394..bde93b240 100644 --- a/module/remote/thriftbackend/Handler.py +++ b/module/remote/thriftbackend/Handler.py @@ -424,7 +424,7 @@ class Handler(Iface): """ rawData = self.serverMethods.get_package_data(pid) order = {} - for pyfile in rawData["links"]: + for id, pyfile in rawData["links"].iteritems(): while pyfile["order"] in order.keys(): #just in case pyfile["order"] += 1 order[pyfile["order"]] = pyfile["id"] |