From f6b9f67df891f7defb6556ddfc6784d7d11e913f Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Thu, 26 Aug 2010 02:33:24 -0400 Subject: [PATCH] Fix error in last commit. --- deluge/core/preferencesmanager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deluge/core/preferencesmanager.py b/deluge/core/preferencesmanager.py index 3e45ebd3d..cf739c79a 100644 --- a/deluge/core/preferencesmanager.py +++ b/deluge/core/preferencesmanager.py @@ -391,8 +391,7 @@ class PreferencesManager(component.Component): self.session_set_setting("connection_speed", value) def _on_ignore_limits_on_local_network(self, key, value): - self.settings.ignore_limits_on_local_network = value - self.session.set_settings(self.settings) + self.session_set_setting("ignore_limits_on_local_network", value) def _on_set_share_ratio_limit(self, key, value): log.debug("%s set to %s..", key, value)