mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-06 16:44:29 +00:00
Tried to fix queue order issue.
This commit is contained in:
parent
ba675a89b3
commit
7791d293a1
16
src/core.py
16
src/core.py
@ -584,14 +584,16 @@ class Manager:
|
|||||||
self.unique_IDs[event['unique_ID']].save_dir = self.get_pref('default_finished_path')
|
self.unique_IDs[event['unique_ID']].save_dir = self.get_pref('default_finished_path')
|
||||||
|
|
||||||
elif event['event_type'] is self.constants['EVENT_FINISHED']:
|
elif event['event_type'] is self.constants['EVENT_FINISHED']:
|
||||||
if self.get_pref('enable_move_completed') and not \
|
if event['message'] == "torrent has finished downloading":
|
||||||
(self.get_pref('default_finished_path') == self.get_pref('default_download_path')) and \
|
if self.get_pref('enable_move_completed') and not \
|
||||||
event['message'] == "torrent has finished downloading":
|
self.get_pref('default_finished_path') == \
|
||||||
deluge_core.move_storage(event['unique_ID'], self.get_pref('default_finished_path'))
|
self.get_pref('default_download_path'):
|
||||||
|
deluge_core.move_storage(event['unique_ID'],
|
||||||
|
self.get_pref('default_finished_path'))
|
||||||
|
|
||||||
# Queue seeding torrent to bottom if needed
|
# Queue seeding torrent to bottom if needed
|
||||||
if self.get_pref('queue_seeds_to_bottom'):
|
if self.get_pref('queue_seeds_to_bottom'):
|
||||||
self.queue_bottom(event['unique_ID'])
|
self.queue_bottom(event['unique_ID'])
|
||||||
|
|
||||||
# save fast resume once torrent finishes so as to not recheck
|
# save fast resume once torrent finishes so as to not recheck
|
||||||
# seed if client crashes
|
# seed if client crashes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user