mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
embarrassing bug fixed in queue_bottom, that caused torrents to vanish...
This commit is contained in:
parent
2982ae4b8c
commit
8390e3977e
@ -424,7 +424,7 @@ class Manager:
|
||||
def queue_bottom(self, unique_ID, enforce_queue=True):
|
||||
curr_index = self.get_queue_index(unique_ID)
|
||||
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)
|
||||
if enforce_queue:
|
||||
self.apply_queue()
|
||||
|
Loading…
x
Reference in New Issue
Block a user