From 0d069d0fe8987efd0b0e1bf79817868a0bd578d4 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Sun, 24 Jan 2010 03:27:43 +0000 Subject: [PATCH] change the queue number server side --- deluge/ui/web/json_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index c824a789d..74a0eb675 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -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)