fix auto max ratio - micah

This commit is contained in:
Marcos Pinto 2007-09-02 00:24:44 +00:00
parent e0937ab97a
commit 4cc1e0e96b
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ class Manager:
self.set_user_pause(unique_ID, True, enforce_queue=False) self.set_user_pause(unique_ID, True, enforce_queue=False)
if self.get_pref('clear_max_ratio_torrents'): if self.get_pref('clear_max_ratio_torrents'):
for unique_ID in self.unique_IDs: for unique_ID in self.unique_IDs.keys():
torrent_state = self.get_core_torrent_state(unique_ID) torrent_state = self.get_core_torrent_state(unique_ID)
if torrent_state['is_seed']: if torrent_state['is_seed']:
ratio = self.calc_ratio(unique_ID, torrent_state) ratio = self.calc_ratio(unique_ID, torrent_state)