fix default for auto_seed_ratio

This commit is contained in:
Marcos Pinto 2007-06-13 07:47:58 +00:00
parent 393cbafa19
commit 9a588c73f9
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -38,7 +38,7 @@ import common
DEFAULT_PREFS = {
"auto_end_seeding" : False,
"auto_seed_ratio" : -1,
"auto_seed_ratio" : 0,
"close_to_tray" : False,
"default_download_path" : "",
"dht_connections" : 80,