mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
change the queue number server side
This commit is contained in:
parent
e441f96204
commit
0d069d0fe8
1 changed files with 2 additions and 0 deletions
|
@ -493,6 +493,8 @@ class WebApi(JSONComponent):
|
||||||
for id in torrents:
|
for id in torrents:
|
||||||
torrent = torrents[id]
|
torrent = torrents[id]
|
||||||
torrent["id"] = id
|
torrent["id"] = id
|
||||||
|
if torrent["queue"] == -1:
|
||||||
|
torrent["queue"] = 99999
|
||||||
|
|
||||||
def on_complete(result):
|
def on_complete(result):
|
||||||
d.callback(ui_info)
|
d.callback(ui_info)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue