mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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:
|
||||
torrent = torrents[id]
|
||||
torrent["id"] = id
|
||||
if torrent["queue"] == -1:
|
||||
torrent["queue"] = 99999
|
||||
|
||||
def on_complete(result):
|
||||
d.callback(ui_info)
|
||||
|
|
Loading…
Add table
Reference in a new issue