From 9a588c73f9980ff6e9cdf80c1b1858187a85e3da Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 13 Jun 2007 07:47:58 +0000 Subject: [PATCH] fix default for auto_seed_ratio --- src/core.py | 2 +- src/pref.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.py b/src/core.py index 6ac17a7f4..e43c54141 100644 --- a/src/core.py +++ b/src/core.py @@ -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) diff --git a/src/pref.py b/src/pref.py index b37bd7075..b90244df7 100644 --- a/src/pref.py +++ b/src/pref.py @@ -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,