mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Make sure queue order is preserved when restarting daemon.
This commit is contained in:
parent
7d88cb1850
commit
666bb09513
1 changed files with 1 additions and 1 deletions
|
@ -641,7 +641,7 @@ class TorrentManager(component.Component):
|
|||
|
||||
# Reorder the state.torrents list to add torrents in the correct queue
|
||||
# order.
|
||||
state.torrents.sort(key=operator.attrgetter("queue"))
|
||||
state.torrents.sort(key=operator.attrgetter("queue"), reverse=self.config["queue_new_to_top"])
|
||||
|
||||
resume_data = self.load_resume_data_file()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue