fix auto max ratio - micah
This commit is contained in:
parent
e0937ab97a
commit
4cc1e0e96b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue