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)