fix bug deluge crashes on autoseed

This commit is contained in:
Zach Tibbitts 2007-01-10 22:25:02 +00:00
parent 437649aad0
commit ba4eaf7f7e

View File

@ -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']