Author: damoxc

Revision: 6131

Log:
        change the queue number server side

Diff:
Modified: trunk/deluge/ui/web/json_api.py
===================================================================
--- trunk/deluge/ui/web/json_api.py     2010-01-24 03:01:12 UTC (rev 6130)
+++ trunk/deluge/ui/web/json_api.py     2010-01-24 03:27:43 UTC (rev 6131)
@@ -493,6 +493,8 @@
             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)


-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to