change the queue number server side

This commit is contained in:
Damien Churchill 2010-01-24 03:27:43 +00:00
parent e441f96204
commit 0d069d0fe8
1 changed files with 2 additions and 0 deletions

View File

@ -493,6 +493,8 @@ class WebApi(JSONComponent):
for id in torrents:
torrent = torrents[id]
torrent["id"] = id
if torrent["queue"] == -1:
torrent["queue"] = 99999
def on_complete(result):
d.callback(ui_info)