This commit is contained in:
Marcos Pinto 2007-06-13 07:48:50 +00:00
parent 9a588c73f9
commit 188af2eee3
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class Manager:
# ___ALL queuing code should be in this function, and ONLY here___ # ___ALL queuing code should be in this function, and ONLY here___
def apply_queue(self, efficient = True): def apply_queue(self, efficient = True):
# Handle autoseeding - downqueue as needed # Handle autoseeding - downqueue as needed
if self.get_pref('auto_seed_ratio') >= 0: if self.get_pref('auto_seed_ratio') > 0:
for unique_ID in self.unique_IDs: for unique_ID in self.unique_IDs:
if self.get_core_torrent_state(unique_ID, efficient)['is_seed']: if self.get_core_torrent_state(unique_ID, efficient)['is_seed']:
torrent_state = self.get_core_torrent_state(unique_ID, efficient) torrent_state = self.get_core_torrent_state(unique_ID, efficient)