fix default for auto_seed_ratio
This commit is contained in:
parent
393cbafa19
commit
9a588c73f9
|
@ -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') != -1:
|
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)
|
||||||
|
|
|
@ -38,7 +38,7 @@ import common
|
||||||
|
|
||||||
DEFAULT_PREFS = {
|
DEFAULT_PREFS = {
|
||||||
"auto_end_seeding" : False,
|
"auto_end_seeding" : False,
|
||||||
"auto_seed_ratio" : -1,
|
"auto_seed_ratio" : 0,
|
||||||
"close_to_tray" : False,
|
"close_to_tray" : False,
|
||||||
"default_download_path" : "",
|
"default_download_path" : "",
|
||||||
"dht_connections" : 80,
|
"dht_connections" : 80,
|
||||||
|
|
Loading…
Reference in New Issue