From 4cc1e0e96bbcbe10cebdae5a1efc28ed6c2a73d9 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 2 Sep 2007 00:24:44 +0000 Subject: [PATCH] fix auto max ratio - micah --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index 777fc2149..26b15d2f7 100644 --- a/src/core.py +++ b/src/core.py @@ -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)