From ba4eaf7f7ea341bb472e92f0324fa3f0dcad075d Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Wed, 10 Jan 2007 22:25:02 +0000 Subject: [PATCH] fix bug deluge crashes on autoseed --- deluge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge.py b/deluge.py index d4bafab03..cd3d6a667 100644 --- a/deluge.py +++ b/deluge.py @@ -421,7 +421,7 @@ class manager: if event['event_type'] is self.constants['EVENT_FINISHED']: # If we are autoseeding, then we need to apply the queue - if self.auto_seed_ratio == -1: + if self.get_pref('auto_seed_ratio') == -1: self.apply_queue(efficient = False) # To work on current data elif event['event_type'] is self.constants['EVENT_TRACKER']: unique_ID = event['unique_ID']