mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-10 10:28:39 +00:00
embarrassing bug fixed in queue_bottom, that caused torrents to vanish...
This commit is contained in:
parent
2982ae4b8c
commit
8390e3977e
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ class Manager:
|
||||||
def queue_bottom(self, unique_ID, enforce_queue=True):
|
def queue_bottom(self, unique_ID, enforce_queue=True):
|
||||||
curr_index = self.get_queue_index(unique_ID)
|
curr_index = self.get_queue_index(unique_ID)
|
||||||
if curr_index < (len(self.state.queue) - 1):
|
if curr_index < (len(self.state.queue) - 1):
|
||||||
self.state.queue.remove(curr_index)
|
self.state.queue.remove(unique_ID)
|
||||||
self.state.queue.append(unique_ID)
|
self.state.queue.append(unique_ID)
|
||||||
if enforce_queue:
|
if enforce_queue:
|
||||||
self.apply_queue()
|
self.apply_queue()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue