additional move_storage conditional -micah

This commit is contained in:
Marcos Pinto 2007-07-17 09:15:43 +00:00
parent d04124b998
commit 0297409f2f
1 changed files with 2 additions and 1 deletions

View File

@ -572,7 +572,8 @@ class Manager:
elif event['event_type'] is self.constants['EVENT_FINISHED']: elif event['event_type'] is self.constants['EVENT_FINISHED']:
# Queue seeding torrent to bottom if needed # Queue seeding torrent to bottom if needed
if self.get_pref('enable_move_completed'): if self.get_pref('enable_move_completed') and not \
(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')) deluge_core.move_storage(event['unique_ID'], self.get_pref('default_finished_path'))
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'])