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):
|
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…
Reference in New Issue