mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
fix auto max ratio - micah
This commit is contained in:
parent
e0937ab97a
commit
4cc1e0e96b
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ class Manager:
|
|||
self.set_user_pause(unique_ID, True, enforce_queue=False)
|
||||
|
||||
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)
|
||||
if torrent_state['is_seed']:
|
||||
ratio = self.calc_ratio(unique_ID, torrent_state)
|
||||
|
|
Loading…
Add table
Reference in a new issue